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
@@ -12,7 +12,7 @@
return
if(!is_servant_of_ratvar(user))
return
if(!isprocessing)
if(!(datum_flags & DF_ISPROCESSING))
START_PROCESSING(SSprocessing, src)
to_chat(user, "<span class='notice'>You activate [src].</span>")
icon_state = "[icon_state]_on"
+1 -1
View File
@@ -356,7 +356,7 @@
fired = TRUE
if(hitscan)
process_hitscan()
if(!isprocessing)
if(!(datum_flags & DF_ISPROCESSING))
START_PROCESSING(SSprojectiles, src)
pixel_move(1) //move it now!