diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index d2c05ff4f6c..3069398f738 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -145,7 +145,11 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention) GLOB.LastAdminCalledTargetUID = target.UID() GLOB.AdminProcCaller = ckey //if this runtimes, too bad for you ++GLOB.AdminProcCallCount - . = world.WrapAdminProcCall(target, procname, arguments) + try + . = world.WrapAdminProcCall(target, procname, arguments) + catch + to_chat(usr, "Your proc call failed to execute, likely from runtimes. You should be out of safety mode. If not, god help you.") + if(--GLOB.AdminProcCallCount == 0) GLOB.AdminProcCaller = null