From d6f9264ff4d0ed5310db6552c43bd7eabb4baccb Mon Sep 17 00:00:00 2001 From: cacogen <25089914+cacogen@users.noreply.github.com> Date: Thu, 29 Oct 2020 16:49:23 +1300 Subject: [PATCH] Capitalises Settings, Ghost and Sound menu titles at top (#54640) This makes it so the Settings menu and the Ghost and Sound submenus have their names capitalised like the rest of the options on the menu bar at the top of the screen. --- code/modules/client/preferences_toggles.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/client/preferences_toggles.dm b/code/modules/client/preferences_toggles.dm index 4758c3b9d5a..9259928ef61 100644 --- a/code/modules/client/preferences_toggles.dm +++ b/code/modules/client/preferences_toggles.dm @@ -3,6 +3,9 @@ //Example usage TOGGLE_CHECKBOX(datum/verbs/menu/settings/Ghost/chatterbox, toggle_ghost_ears)() +/datum/verbs/menu/settings + name = "Settings" + //override because we don't want to save preferences twice. /datum/verbs/menu/settings/Set_checked(client/C, verbpath) if (checkbox == CHECKBOX_GROUP) @@ -19,6 +22,9 @@ usr.client.prefs.current_tab = 1 usr.client.prefs.ShowChoices(usr) +/datum/verbs/menu/settings/ghost + name = "Ghost" + //toggles /datum/verbs/menu/settings/ghost/chatterbox name = "Chat Box Spam" @@ -126,6 +132,9 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/settings/ghost, togglemidroundantag)() /datum/verbs/menu/settings/ghost/togglemidroundantag/Get_checked(client/C) return C.prefs.toggles & MIDROUND_ANTAG +/datum/verbs/menu/settings/sound + name = "Sound" + TOGGLE_CHECKBOX(/datum/verbs/menu/settings/sound, toggletitlemusic)() set name = "Hear/Silence Lobby Music" set category = "Preferences"