From 4025652c11d0143a2c8fbf2edb409426f86a7ce4 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 24 Apr 2017 10:05:15 -0500 Subject: [PATCH] Fixes Advanced Proc Call --- code/modules/admin/verbs/debug.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 46a2e906c1..54be219a48 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -92,7 +92,7 @@ GLOBAL_PROTECT(AdminProcCall) UNTIL(!GLOB.AdminProcCall) to_chat(usr, "Running your proc") GLOB.AdminProcCall = usr.client.ckey //if this runtimes, too bad for you - world.WrapAdminProcCall(target, procname, arguments) + . = world.WrapAdminProcCall(target, procname, arguments) GLOB.AdminProcCall = null //adv proc call this, ya nerds @@ -100,7 +100,7 @@ GLOBAL_PROTECT(AdminProcCall) if(target == GLOBAL_PROC) return call(procname)(arglist(arguments)) else - return call(procname)(arglist(arguments)) + return call(target, procname)(arglist(arguments)) /proc/IsAdminAdvancedProcCall() return usr && usr.client && GLOB.AdminProcCall == usr.client.ckey