TOC_Update was broken since... I dunno

This commit is contained in:
Pao
2023-01-15 02:12:01 +01:00
parent d0abaed732
commit 6e213edf7a
3 changed files with 24 additions and 18 deletions

View File

@@ -167,7 +167,9 @@ local function OnClickTocDescUI(button, args)
local patient = args.patient
local surgeon = args.surgeon
if patient == nil then
patient = surgeon
end
-- Validate action
if args.option == "Cut" then
TryTocAction(_, desc_ui.part_name, "Cut", surgeon, patient)