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
@@ -306,7 +306,7 @@ GLOBAL_LIST_EMPTY(PDAs)
/obj/item/pda/proc/add_pen(obj/item/P)
P.forceMove(src)
held_pen = P
RegisterSignal(held_pen, COMSIG_PARENT_QDELETING, .proc/clear_pen)
RegisterSignal(held_pen, COMSIG_PARENT_QDELETING, PROC_REF(clear_pen))
/obj/item/pda/proc/clear_pen()
UnregisterSignal(held_pen, COMSIG_PARENT_QDELETING)