Locks some really gamebreaking verbs to Maints (#17633)

This commit is contained in:
AffectedArc07
2022-04-22 08:27:54 +09:00
committed by GitHub
parent 135fb1802f
commit 469168517a
15 changed files with 27 additions and 57 deletions
-19
View File
@@ -1,22 +1,3 @@
/client/proc/Debug2()
set category = "Debug"
set name = "Debug-Game"
if(!check_rights(R_DEBUG))
return
if(GLOB.debug2)
GLOB.debug2 = 0
message_admins("[key_name_admin(src)] toggled debugging off.")
log_admin("[key_name(src)] toggled debugging off.")
else
GLOB.debug2 = 1
message_admins("[key_name_admin(src)] toggled debugging on.")
log_admin("[key_name(src)] toggled debugging on.")
SSblackbox.record_feedback("tally", "admin_verb", 1, "Debug Game") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/* 21st Sept 2010
Updated by Skie -- Still not perfect but better!
Stuff you can't do: