From 293a1381baeac2810f021d2f0349fc30b1d07b31 Mon Sep 17 00:00:00 2001 From: Name Date: Sat, 19 Oct 2024 02:56:10 -0400 Subject: [PATCH] unit tests --- .../client/preferences/migrations/sound_checkboxes_migration.dm | 2 +- .../preferences/features/game_preferences/sounds.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/client/preferences/migrations/sound_checkboxes_migration.dm b/code/modules/client/preferences/migrations/sound_checkboxes_migration.dm index 1a696be8f7c69..6c981ea27e5d8 100644 --- a/code/modules/client/preferences/migrations/sound_checkboxes_migration.dm +++ b/code/modules/client/preferences/migrations/sound_checkboxes_migration.dm @@ -12,7 +12,7 @@ var/ambience_pref = savefile.get_entry("sound_ambience_volume") var/announcement_pref = savefile.get_entry("sound_announcements") var/ship_ambience_pref = savefile.get_entry("sound_ship_ambience_volume") - var/lobby_music_pref = savefile.get_entry("sound_lobby_volume") + var/lobby_music_pref = savefile.get_entry("sound_lobby") var/radio_noise_pref = savefile.get_entry("sound_radio_noise") write_preference(GLOB.preference_entries[/datum/preference/numeric/sound_ambience_volume], ambience_pref*100) write_preference(GLOB.preference_entries[/datum/preference/numeric/sound_announcements], announcement_pref*100) diff --git a/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/sounds.tsx b/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/sounds.tsx index 6f52fdeabc0c2..4f1184f361d8b 100644 --- a/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/sounds.tsx +++ b/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/sounds.tsx @@ -85,7 +85,7 @@ export const sound_jukebox: FeatureToggle = { // BEGIN DOPPLER EDIT - VOLUME MIXER // export const sound_lobby: FeatureToggle = { // name: 'Enable lobby music', -export const sound_lobby_volume: Feature = { +export const sound_lobby: Feature = { name: 'Lobby music volume', category: 'SOUND', // component: CheckboxInput,