mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
[MIRROR] adds grep check for improperly used timer flags. [MDB IGNORE] (#16070)
* adds grep check for improperly used timer flags. (#69668) * adds grep check for improperly used timer flags. Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
@@ -609,7 +609,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