Crash to timers and INFINITY check to beams. (#33219)

* beams

* timers

* >= instead of !=

* whooops
This commit is contained in:
jammer312
2017-12-03 21:44:58 +03:00
committed by CitadelStationBot
parent 6217206bae
commit b1e15a0da2
2 changed files with 5 additions and 1 deletions

View File

@@ -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)