more cleaning
This commit is contained in:
@@ -115,10 +115,7 @@ end
|
||||
|
||||
|
||||
|
||||
TocContextMenus.FillCutAndOperateMenus = function(local_player, clicked_player, world_objects, cut_menu, operate_menu)
|
||||
|
||||
local local_part_data = local_player:getModData().TOC.Limbs
|
||||
|
||||
TocContextMenus.FillCutAndOperateMenus = function(local_player, clicked_player, world_objects, cut_menu, operate_menu)
|
||||
for _, v in ipairs(GetBodyParts()) do
|
||||
if local_player == clicked_player then -- Local player
|
||||
if CheckIfCanBeCut(v) and TocGetSawInInventory(local_player) ~= nil then
|
||||
@@ -149,8 +146,6 @@ TocContextMenus.FillCutAndOperateMenus = function(local_player, clicked_player,
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
TocContextMenus.CreateCheatMenu = function(context, root_menu, local_player, clicked_player)
|
||||
if local_player:getAccessLevel() == "Admin" then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user