[READY]Makes addtimer use callbacks (#22660)

* Makes addtimer use callbacks

* I broke the comment

* I fucked up the regex

* this was a silly idea.
This commit is contained in:
Kyle Spier-Swenson
2017-01-04 16:02:56 +13:00
committed by oranges
parent fd337f0741
commit bee4b132a3
183 changed files with 358 additions and 376 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
if(target_dist<=3) //"Eaten"
target.hal_screwyhud = 1
target.SetSleeping(20)
addtimer(src, "wake_and_restore", rand(50, 100))
addtimer(CALLBACK(src, .proc/wake_and_restore), rand(50, 100))
/obj/effect/hallucination/battle
@@ -400,7 +400,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
my_target = T
QDEL_IN(src, 300)
step_away(src,my_target,2)
addtimer(src, "attack_loop", 0)
addtimer(CALLBACK(src, .proc/attack_loop), 0)
/obj/effect/fake_attacker/proc/updateimage()