Makes addtimer(..., 0) more akin to spawn(0) (#23669)

* Makes addtimer(..., 0) use spawn(0)

* Jess queue it

* No negative times
This commit is contained in:
Cyberboss
2017-02-06 10:23:45 +13:00
committed by oranges
parent 1780d2d6b7
commit 3fc6c07825
+1 -3
View File
@@ -294,9 +294,7 @@ proc/addtimer(datum/callback/callback, wait, flags)
if (!callback)
return
if (wait <= 0)
callback.InvokeAsync()
return
wait = max(wait, 0)
var/hash