Skip to content

Commit

Permalink
Update debug.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
ToasterBiome authored Nov 10, 2024
1 parent 14b5b6d commit db95983
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/admin/verbs/debug.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
if(!procpath)
return

if(findtextEx(trim(lowertext(procpath)), "rustg"))
message_admins("<span class='userdanger'>[key_name_admin(src)] attempted to proc call rust-g procs. Inform council/host <u>at once</u>.</span>")
log_admin("[key_name(src)] attempted to proc call rust-g procs. Inform council/host at once.")
return

//strip away everything but the proc name
var/list/proclist = splittext(procpath, "/")
if (!length(proclist))
Expand Down

0 comments on commit db95983

Please sign in to comment.