From 92230e4252ffa401f4d5412515ebe88c185d9efe Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 28 Sep 2021 21:16:05 +0200 Subject: [PATCH] [MIRROR] renames enable debug verbs to enable mapping verbs [MDB IGNORE] (#8460) * renames enable debug verbs to enable mapping verbs (#61725) its such a stupid fucking name, the verbs are all mapping related, they are all in the mapping tab, nobody knows about them because its called debug verbs for some reason instead of mapping verbs * renames enable debug verbs to enable mapping verbs Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> --- code/modules/admin/admin_verbs.dm | 6 +++--- code/modules/admin/verbs/mapping.dm | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index c16113e6598..4920cbac110 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -152,7 +152,7 @@ GLOBAL_PROTECT(admin_verbs_debug) /client/proc/cmd_admin_delete, /client/proc/cmd_debug_del_all, /client/proc/restart_controller, - /client/proc/enable_debug_verbs, + /client/proc/enable_mapping_verbs, /client/proc/callproc, /client/proc/callproc_datum, /client/proc/SDQL2_query, @@ -263,7 +263,7 @@ GLOBAL_LIST_INIT(admin_verbs_hideable, list( /client/proc/cmd_debug_make_powernets, /client/proc/cmd_debug_mob_lists, /client/proc/cmd_debug_del_all, - /client/proc/enable_debug_verbs, + /client/proc/enable_mapping_verbs, /proc/possess, /proc/release, /client/proc/reload_admins, @@ -330,7 +330,7 @@ GLOBAL_PROTECT(admin_verbs_hideable) GLOB.admin_verbs_spawn, /*Debug verbs added by "show debug verbs"*/ GLOB.admin_verbs_debug_mapping, - /client/proc/disable_debug_verbs, + /client/proc/disable_mapping_verbs, /client/proc/readmin )) diff --git a/code/modules/admin/verbs/mapping.dm b/code/modules/admin/verbs/mapping.dm index 6df17c6da91..0209fc30cc5 100644 --- a/code/modules/admin/verbs/mapping.dm +++ b/code/modules/admin/verbs/mapping.dm @@ -185,20 +185,20 @@ GLOBAL_LIST_EMPTY(dirty_vars) SSblackbox.record_feedback("tally", "admin_verb", 1, "Show Roundstart Active Turf Markers") -/client/proc/enable_debug_verbs() +/client/proc/enable_mapping_verbs() set category = "Debug" - set name = "Debug verbs - Enable" + set name = "Mapping verbs - Enable" if(!check_rights(R_DEBUG)) return - remove_verb(src, /client/proc/enable_debug_verbs) - add_verb(src, list(/client/proc/disable_debug_verbs, GLOB.admin_verbs_debug_mapping)) + remove_verb(src, /client/proc/enable_mapping_verbs) + add_verb(src, list(/client/proc/disable_mapping_verbs, GLOB.admin_verbs_debug_mapping)) SSblackbox.record_feedback("tally", "admin_verb", 1, "Enable Debug Verbs") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/client/proc/disable_debug_verbs() +/client/proc/disable_mapping_verbs() set category = "Debug" - set name = "Debug verbs - Disable" - remove_verb(src, list(/client/proc/disable_debug_verbs, GLOB.admin_verbs_debug_mapping)) - add_verb(src, /client/proc/enable_debug_verbs) + set name = "Mapping verbs - Disable" + remove_verb(src, list(/client/proc/disable_mapping_verbs, GLOB.admin_verbs_debug_mapping)) + add_verb(src, /client/proc/enable_mapping_verbs) SSblackbox.record_feedback("tally", "admin_verb", 1, "Disable Debug Verbs") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/count_objects_on_z_level()