From 9f8ef69014b4e041d7fd342c54dba6b4bcdde3f6 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Tue, 22 May 2018 09:05:00 -0400 Subject: [PATCH] Merge pull request #37986 from AutomaticFrenzy/patch/sneaky-cyberboss Fix global proccalls not working --- code/modules/admin/verbs/debug.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 28fb4a485d..2fd212b4dc 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -115,7 +115,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention) to_chat(usr, "Calling Del() is not allowed") return - if(!target.CanProcCall(procname)) + if(target != GLOBAL_PROC && !target.CanProcCall(procname)) to_chat(usr, "Proccall on [target.type]/proc/[procname] is disallowed!") return var/current_caller = GLOB.AdminProcCaller