From 43a2b90b31c8834e5ef45d15e98d940396e9b5c3 Mon Sep 17 00:00:00 2001 From: Fikou <23585223+Fikou@users.noreply.github.com> Date: Tue, 28 Sep 2021 20:56:17 +0200 Subject: [PATCH] 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 --- 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 5254fd64b896e4..35a31c834de73b 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -142,7 +142,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, @@ -248,7 +248,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, @@ -313,7 +313,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 19dc1688f275bd..3de242a684e93b 100644 --- a/code/modules/admin/verbs/mapping.dm +++ b/code/modules/admin/verbs/mapping.dm @@ -198,20 +198,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()