From 5176ca425ed2a0855d895745a0e29f856bfa1db0 Mon Sep 17 00:00:00 2001 From: ariaworld <143797359+ariaworld@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:56:16 +0200 Subject: [PATCH] Fix: tries to fix lobby + forced song --- code/controllers/subsystem/ticker.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm index 9ea79040df..a871f152f6 100644 --- a/code/controllers/subsystem/ticker.dm +++ b/code/controllers/subsystem/ticker.dm @@ -110,8 +110,10 @@ SUBSYSTEM_DEF(ticker) if(2) //rare+sound.ogg or MAP+sound.ogg -- Rare sounds or Map-specific sounds if((use_rare_music && L[1] == "rare") || (L[1] == SSmapping.config.map_name)) music += S + else if(findtext(S, "{") && findtext(S, "}")) // Include songs with curly braces if they are part of a specific category + music += S if(1) //sound.ogg -- common sound - if(!findtext(S, "{") && !findtext(S, "}")) // Exclude songs surrounded by parentheses + if(!findtext(S, "{") && !findtext(S, "}")) // Exclude songs surrounded by curly braces music += S var/old_login_music = trim(file2text("data/last_round_lobby_music.txt"))