adds grep check for improperly used timer flags. (#69668)

This commit is contained in:
ShizCalev
2022-09-05 02:55:22 -07:00
committed by GitHub
parent cc26d1d9d3
commit 6ef3599254
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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