From d708d53a6cfd102bbc120a8d4c69f463a9dd8c79 Mon Sep 17 00:00:00 2001 From: Artorp Date: Tue, 10 Feb 2015 07:32:14 +0100 Subject: [PATCH] Fixes ambience sound preference --- code/game/area/areas.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/area/areas.dm b/code/game/area/areas.dm index 3c04e9cf951..70909088ce0 100644 --- a/code/game/area/areas.dm +++ b/code/game/area/areas.dm @@ -355,7 +355,7 @@ thunk(L) // Ambience goes down here -- make sure to list each area seperately for ease of adding things in later, thanks! Note: areas adjacent to each other should have the same sounds to prevent cutoff when possible.- LastyScratch - if(L && L.client && (L.client.prefs.toggles & SOUND_AMBIENCE)) + if(L && L.client && (L.client.prefs.sound & SOUND_AMBIENCE)) if(!L.client.ambience_playing) L.client.ambience_playing = 1 L << sound('sound/ambience/shipambience.ogg', repeat = 1, wait = 0, volume = 35, channel = 2)