mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
Fixes lobby music playing when you enable it via game preferences while not in the lobby (#38766)
This commit is contained in:
committed by
vuonojenmustaturska
parent
97a8c7537f
commit
93ac333cbf
@@ -1462,7 +1462,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
|
||||
if("lobby_music")
|
||||
toggles ^= SOUND_LOBBY
|
||||
if((toggles & SOUND_LOBBY) && user.client)
|
||||
if((toggles & SOUND_LOBBY) && user.client && isnewplayer(user))
|
||||
user.client.playtitlemusic()
|
||||
else
|
||||
user.stop_sound_channel(CHANNEL_LOBBYMUSIC)
|
||||
|
||||
Reference in New Issue
Block a user