Turn /datum.isprocessing into a datum flag (#38193)

This commit is contained in:
vuonojenmustaturska
2018-06-06 01:59:46 +03:00
committed by letterjay
parent 3489ed23c6
commit 83ac5852dd
8 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ SUBSYSTEM_DEF(machines)
else
processing -= thing
if (!QDELETED(thing))
thing.isprocessing = FALSE
thing.datum_flags &= ~DF_ISPROCESSING
if (MC_TICK_CHECK)
return
@@ -27,7 +27,6 @@ SUBSYSTEM_DEF(processing)
if (MC_TICK_CHECK)
return
/datum/var/isprocessing = FALSE
/datum/proc/process()
set waitfor = 0
STOP_PROCESSING(SSobj, src)