Sound Update/Refactor

This commit is contained in:
Fox-McCloud
2017-07-25 20:35:38 -04:00
parent 26ca00714e
commit f78c507122
15 changed files with 85 additions and 66 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
var/close = range(world.view+round(devastation_range,1), epicenter)
// to all distanced mobs play a different sound
for(var/mob/M in world)
for(var/mob/M in mob_list)
if(M.z == epicenter.z && !(M in close))
// check if the mob can hear
if(M.can_hear() && !istype(M.loc,/turf/space))