From 5bdf18b8619cea0a9ecebddca3a113ccf2881ea5 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Tue, 29 Aug 2017 17:03:22 -0500 Subject: [PATCH] Makes playtitlemusic() waitfor = FALSE --- code/game/sound.dm.rej | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/game/sound.dm.rej b/code/game/sound.dm.rej index 003c8b9975..007e3e17b5 100644 --- a/code/game/sound.dm.rej +++ b/code/game/sound.dm.rej @@ -1,9 +1,9 @@ diff a/code/game/sound.dm b/code/game/sound.dm (rejected hunks) -@@ -145,7 +145,3 @@ - if ("can_open") - soundin = pick('sound/effects/can_open1.ogg', 'sound/effects/can_open2.ogg', 'sound/effects/can_open3.ogg') - return soundin -- --/proc/playsound_global(file, repeat = 0, wait, channel, volume) -- for(var/V in GLOB.clients) -- V << sound(file, repeat, wait, channel, volume) +@@ -98,6 +98,7 @@ + SEND_SOUND(src, sound(null, repeat = 0, wait = 0, channel = chan)) + + /client/proc/playtitlemusic(vol = 85) ++ set waitfor = FALSE + UNTIL(SSticker.login_music) //wait for SSticker init to set the login music + + if(prefs && (prefs.toggles & SOUND_LOBBY))