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