Merge pull request #4425 from Citadel-Station-13/upstream-merge-33607

[MIRROR] Dance Machine now obeys instrument preference
This commit is contained in:
LetterJay
2017-12-18 15:26:33 -06:00
committed by GitHub
+2
View File
@@ -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)