Fixes the range and dropoff of some sounds (#7405)

This commit is contained in:
fernerr
2019-11-13 19:23:57 +01:00
committed by Werner
parent c5a729d830
commit 78c2dacbb9
5 changed files with 47 additions and 6 deletions

View File

@@ -141,7 +141,7 @@
var/burst_time = (min_burst_delay + max_burst_delay)/2 + 2*(burst_shots-1)
var/power_per_shot = active_power_usage * (burst_time/10) / burst_shots
playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1)
playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1, 3, 0.5, 1)
if(prob(35))
spark_system.queue()