mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user