Corrected some parameters

This commit is contained in:
Pao
2023-01-22 20:08:11 +01:00
parent d39eb0e031
commit ce4e6ec9de
2 changed files with 18 additions and 21 deletions

View File

@@ -402,11 +402,11 @@ function TryTocAction(_, part_name, action, surgeon, patient)
if not isServer() and not isClient() then
if action == "Cut" then
TocCutLocal(_, surgeon, surgeon, part_name)
TocCutLocal(_, surgeon, part_name)
elseif action == "Operate" then
TocOperateLocal(_, surgeon, surgeon, part_name, false)
TocOperateLocal(_, surgeon, part_name, false)
elseif action == "Equip" then
TocEquipProsthesisLocal(_, surgeon, surgeon, part_name)
TocEquipProsthesisLocal(_, surgeon, part_name)
elseif action == "Unequip" then
TocUnequipProsthesisLocal(_, surgeon, part_name)
end