Bunch of cleaning on old todos

This commit is contained in:
Pao
2023-02-06 02:44:59 +01:00
parent 83077a115d
commit 1545c88a19
10 changed files with 18 additions and 106 deletions

View File

@@ -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