no sleep
no sleeping if not using INVOKE_ASYNC
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
/obj/machinery/door/firedoor/power_change()
|
||||
if(powered(power_channel))
|
||||
stat &= ~NOPOWER
|
||||
latetoggle()
|
||||
INVOKE_ASYNC(src, .proc/latetoggle)
|
||||
else
|
||||
stat |= NOPOWER
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
addStaticPower(-value, powerchannel)
|
||||
|
||||
/obj/machinery/proc/power_change()
|
||||
//SIGNAL_HANDLER
|
||||
SHOULD_NOT_SLEEP(TRUE)
|
||||
//SHOULD_CALL_PARENT(TRUE)
|
||||
|
||||
if(stat & BROKEN)
|
||||
|
||||
Reference in New Issue
Block a user