Fixes Sound/Debug Preferences

This commit is contained in:
Fox-McCloud
2016-06-30 10:57:58 -04:00
parent 7e9ff08ceb
commit 2df7ff16d8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
// and play
var/turf/source = get_turf(instrumentObj)
for(var/mob/M in hearers(15, source))
if(!M.client || !(M.client.prefs.toggles & SOUND_INSTRUMENTS))
if(!M.client || !(M.client.prefs.sound & SOUND_INSTRUMENTS))
continue
M.playsound_local(source, soundfile, 100, falloff = 5)