Bunch of cleaning on old todos
This commit is contained in:
@@ -14,12 +14,10 @@ function TocCutLocal(_, player, part_name)
|
||||
end
|
||||
|
||||
function TocOperateLocal(_, player, part_name, use_oven)
|
||||
--local player = getPlayer();
|
||||
-- todo add a check if the player has already been amputated or somethin
|
||||
if use_oven then
|
||||
ISTimedActionQueue.add(ISOperateLimb:new(player, player, _, part_name, use_oven));
|
||||
else
|
||||
local kit = TocGetKitInInventory(player) -- TODO Why is it here and only for local?
|
||||
local kit = TocGetKitInInventory(player)
|
||||
if kit ~= nil then
|
||||
ISTimedActionQueue.add(ISOperateLimb:new(player, player, kit, part_name, false))
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user