Surgery Hotfixes: Part 1 (#19108)

* Fixes up a few notable bugs with surgery
- Synthetic cavity implants now have a close step (oops!)
- Fixes up logic for intermediate surgery steps

* nah I'll deal with this later

* oops this was unused
This commit is contained in:
Luc
2022-09-21 21:46:03 +01:00
committed by GitHub
parent 065ffff420
commit b060b4b6d2
5 changed files with 155 additions and 91 deletions
+1 -1
View File
@@ -97,7 +97,7 @@
if(!isnull(current_surgery) && !current_surgery.step_in_progress)
var/datum/surgery_step/current_step = current_surgery.get_surgery_step()
if(current_step.try_op(user, target, user.zone_selected, parent, current_surgery))
if(current_step.try_op(user, target, user.zone_selected, parent, current_surgery) == SURGERY_INITIATE_SUCCESS)
return
if(istype(parent, /obj/item/scalpel/laser/manager/debug))
return