[MIRROR] fixes instruments (#1733)

* mmmhhh (#55032)

* fixes instruments

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
SkyratBot
2020-11-20 00:58:15 +01:00
committed by GitHub
parent 25889771cd
commit 9d635a2f3f
+1 -1
View File
@@ -144,7 +144,7 @@ distance_multiplier - Can be used to multiply the distance at which the sound is
var/dy = (turf_source.z - T.z) * 5 * distance_multiplier // Hearing from above / below, multiplied by 5 because we assume height is further along coords.
S.y = dy
S.falloff = max_distance || 0 //use max_distance, else just use 0 as we are a direct sound so falloff isnt relevant.
S.falloff = max_distance || 1 //use max_distance, else just use 1 as we are a direct sound so falloff isnt relevant.
SEND_SOUND(src, S)