mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 21:26:30 +01:00
Fixes broken tool usability logic
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