CI check for old style procrefs, tidies some that slipped in (#19649)

* CI_procref

* tidy these

* exclude the one place we will permit this
This commit is contained in:
S34N
2022-11-09 21:13:08 +01:00
committed by GitHub
parent d2e03e7d1f
commit aaf7d3b6e3
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ SUBSYSTEM_DEF(pathfinder)
while(flow[free])
CHECK_TICK
free = (free % lcount) + 1
var/t = addtimer(CALLBACK(src, /datum/flowcache.proc/toolong, free), 150, TIMER_STOPPABLE)
var/t = addtimer(CALLBACK(src, TYPE_PROC_REF(/datum/flowcache, toolong), free), 150, TIMER_STOPPABLE)
flow[free] = t
flow[t] = M
return free
+1 -1
View File
@@ -338,7 +338,7 @@ SUBSYSTEM_DEF(ticker)
#endif
// Do this 10 second after roundstart because of roundstart lag, and make it more visible
addtimer(CALLBACK(src, .proc/handle_antagfishing_reporting), 10 SECONDS)
addtimer(CALLBACK(src, PROC_REF(handle_antagfishing_reporting)), 10 SECONDS)
return TRUE