Merge pull request #7735 from Rykka-Stormheart/shep-dev-reduce-max-sound-range

Reduce maximum audible range of sounds [DNM]
This commit is contained in:
Aronai Sieyes
2020-05-11 18:32:57 -04:00
committed by GitHub
+1 -1
View File
@@ -10,7 +10,7 @@
// Looping through the player list has the added bonus of working for mobs inside containers
var/sound/S = sound(get_sfx(soundin))
var/maxdistance = (world.view + extrarange) * 3
var/maxdistance = (world.view + extrarange) * 2 //VOREStation Edit - 3 to 2
var/list/listeners = player_list
if(!ignore_walls) //these sounds don't carry through walls
listeners = listeners & hearers(maxdistance,turf_source)