Dance Machine now obeys instrument preference (#33607)
This commit is contained in:
committed by
CitadelStationBot
parent
220e1cd8cf
commit
ac95eb06e8
@@ -459,6 +459,8 @@
|
||||
var/sound/song_played = sound(selection.song_path)
|
||||
|
||||
for(var/mob/M in range(10,src))
|
||||
if(!M.client || !(M.client.prefs.toggles & SOUND_INSTRUMENTS))
|
||||
continue
|
||||
if(!(M in rangers))
|
||||
rangers[M] = TRUE
|
||||
M.playsound_local(get_turf(M), null, 100, channel = CHANNEL_JUKEBOX, S = song_played)
|
||||
|
||||
Reference in New Issue
Block a user