mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
[ADMIN] Post-round lobby music will no longer interrupt admin music (#16990)
* all i want for christmas is you * Update roundend.dm
This commit is contained in:
@@ -174,8 +174,14 @@
|
||||
LAZYCLEARLIST(round_end_events)
|
||||
|
||||
RollCredits()
|
||||
for(var/client/C in GLOB.clients)
|
||||
C.playtitlemusic(40)
|
||||
// Don't interrupt admin music
|
||||
if(REALTIMEOFDAY >= SSticker.music_available)
|
||||
for(var/client/C in GLOB.clients)
|
||||
C.playtitlemusic(40)
|
||||
else // this looks worse but is better than uselessly comparing for every client
|
||||
for(var/client/C in GLOB.clients)
|
||||
if(!(C.prefs.toggles & SOUND_MIDI))
|
||||
C.playtitlemusic(40)
|
||||
|
||||
var/popcount = gather_roundend_feedback()
|
||||
display_report(popcount)
|
||||
|
||||
Reference in New Issue
Block a user