From 85c037ffe7936c4817e30d75848ced8df37404e7 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sat, 2 Jan 2016 03:25:31 -0800 Subject: [PATCH] Fixes byond trying to create a new /world/ object on admin proc calls This SHOULD work --- code/modules/admin/verbs/debug.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 93d8d3a830f..03dbd25a7a6 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -71,6 +71,12 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that if(targetselected && !hascall(target,procname)) usr << "Error: callproc(): target has no such call [procname]." return + else + procpath = text2path(procname) + if (!procpath) + usr << "Error: callproc(): proc [procname] does not exist. (Did you forget the /proc/ part?)" + return + procname = procpath var/list/lst = get_callproc_args() if(!lst) return