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
@@ -385,7 +385,7 @@
turns = 0
if(!istype(user) || !user.canUseTopic(src, BE_CLOSE, ismonkey(user)))
return
if(!isprocessing)
if(!(datum_flags & DF_ISPROCESSING))
user.visible_message("<span class='notice'>[user] spins [src] around, and Ratvarian technology keeps it spinning FOREVER.</span>", \
"<span class='notice'>Automated spinny chairs. The pinnacle of Ratvarian technology.</span>")
START_PROCESSING(SSfastprocess, src)