mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user