Make flashbang's bang respect distance to players (#6898)
This commit is contained in:
parent
76dfa8ce57
commit
efafdcd95f
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ namespace Content.Server.Explosion.EntitySystems
|
|||
private void HandleSoundTrigger(EntityUid uid, SoundOnTriggerComponent component, TriggerEvent args)
|
||||
{
|
||||
if (component.Sound == null) return;
|
||||
SoundSystem.Play(Filter.Pvs(component.Owner), component.Sound.GetSound(), AudioHelpers.WithVariation(0.01f));
|
||||
SoundSystem.Play(Filter.Pvs(component.Owner), component.Sound.GetSound(), uid);
|
||||
}
|
||||
|
||||
private void HandleDeleteTrigger(EntityUid uid, DeleteOnTriggerComponent component, TriggerEvent args)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue