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