mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
OHHHHHHHHHHHHH GOD (#27327)
This commit is contained in:
@@ -52,6 +52,13 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
var/procname = clean_input("Proc path, eg: /proc/fake_blood","Path:", null)
|
||||
if(!procname) return
|
||||
|
||||
// absolutely not
|
||||
if(findtextEx(trim(lowertext(procname)), "rustg"))
|
||||
message_admins("<span class='userdanger'>[key_name_admin(src)] attempted to proc call rust-g procs. Inform the host <u>at once</u>.</span>")
|
||||
log_admin("[key_name(src)] attempted to proc call rust-g procs. Inform the host at once.")
|
||||
GLOB.discord_manager.send2discord_simple(DISCORD_WEBHOOK_ADMIN, "[key_name(src)] attempted to proc call rustg things. Inform the host at once.")
|
||||
return
|
||||
|
||||
if(targetselected && !hascall(target,procname))
|
||||
to_chat(usr, "<font color='red'>Error: callproc(): target has no such call [procname].</font>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user