Skip to content

Commit 52c1674

Browse files
authored
Fix eternally sleeping proc on clients (#359)
## About The Pull Request This proc sets waitfor to false and then waits for the lobby music track to get set, but with our custom lobby code it never is and the proc sleeps forever ## Why It's Good For The Game Bug ## Changelog N/A
1 parent 86dcec9 commit 52c1674

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

code/game/sound/sound.dm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@
199199

200200
/client/proc/playtitlemusic(volume_multiplier = 1)
201201
set waitfor = FALSE
202+
// EffigyEdit Add - Custom Lobby
203+
if(CONFIG_GET(flag/use_scheduled_lobby_track))
204+
return
205+
// EffigyEdit Add End
202206
UNTIL(SSticker.login_music) //wait for SSticker init to set the login music
203207

204208
var/music_volume = prefs.read_preference(/datum/preference/numeric/volume/sound_lobby_volume) * volume_multiplier

0 commit comments

Comments
 (0)