Crash to timers and INFINITY check to beams. (#33219)
* beams * timers * >= instead of != * whooops
This commit is contained in:
committed by
CitadelStationBot
parent
6217206bae
commit
b1e15a0da2
@@ -357,6 +357,9 @@ SUBSYSTEM_DEF(timer)
|
||||
|
||||
wait = max(wait, 0)
|
||||
|
||||
if(wait >= INFINITY)
|
||||
CRASH("Attempted to create timer with INFINITY delay")
|
||||
|
||||
var/hash
|
||||
|
||||
if (flags & TIMER_UNIQUE)
|
||||
|
||||
Reference in New Issue
Block a user