diff --git a/code/game/objects/structures/musician.dm b/code/game/objects/structures/musician.dm index 9750d449bca..e790e785b40 100644 --- a/code/game/objects/structures/musician.dm +++ b/code/game/objects/structures/musician.dm @@ -58,7 +58,7 @@ // and play var/turf/source = get_turf(instrumentObj) for(var/mob/M in hearers(15, source)) - if(!M.client || !(M.client.prefs.toggles & SOUND_INSTRUMENTS)) + if(!M.client || !(M.client.prefs.sound & SOUND_INSTRUMENTS)) continue M.playsound_local(source, soundfile, 100, falloff = 5) diff --git a/code/modules/client/preferences_toggles.dm b/code/modules/client/preferences_toggles.dm index f2b9400c92d..0b52b15bd42 100644 --- a/code/modules/client/preferences_toggles.dm +++ b/code/modules/client/preferences_toggles.dm @@ -186,9 +186,9 @@ set name = "Hear/Silence Instruments" set category = "Preferences" set desc = "Toggles hearing musical instruments like the violin and piano" - prefs.toggles ^= SOUND_INSTRUMENTS + prefs.sound ^= SOUND_INSTRUMENTS prefs.save_preferences(src) - if(prefs.toggles & SOUND_INSTRUMENTS) + if(prefs.sound & SOUND_INSTRUMENTS) to_chat(src, "You will now hear people playing musical instruments.") else to_chat(src, "You will no longer hear musical instruments.")