From 12d108bc33991e5a7f38d91db14701dc534700b8 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Tue, 22 May 2018 01:26:44 -0700 Subject: [PATCH] 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 28fb4a485df..2fd212b4dc2 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