mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
adds grep check for improperly used timer flags. (#69668)
This commit is contained in:
@@ -610,7 +610,7 @@ SUBSYSTEM_DEF(timer)
|
||||
. = hash_timer.id
|
||||
return
|
||||
else if(flags & TIMER_OVERRIDE)
|
||||
stack_trace("TIMER_OVERRIDE used without TIMER_UNIQUE")
|
||||
stack_trace("TIMER_OVERRIDE used without TIMER_UNIQUE") //this is also caught by grep.
|
||||
|
||||
var/datum/timedevent/timer = new(callback, wait, flags, timer_subsystem, hash, file && "[file]:[line]")
|
||||
return timer.id
|
||||
|
||||
Reference in New Issue
Block a user