mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #6596 from Heroman3003/surgfix
Fixes broken tool usability logic for surgery
This commit is contained in:
@@ -127,7 +127,9 @@
|
||||
if(affected)
|
||||
for(var/datum/surgery_step/S in surgery_steps)
|
||||
if(!affected.open && S.req_open)
|
||||
return 0
|
||||
continue
|
||||
else
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/obj/item/proc/do_surgery(mob/living/carbon/M, mob/living/user)
|
||||
|
||||
Reference in New Issue
Block a user