Footstep SFX are played on entity coordinates, instead of following the entity.

This prevents client-side "can't play sound" spam when the entity is NaN'd due to PVS.
This commit is contained in:
Vera Aguilera Puerto
2021-05-12 14:50:02 +02:00
parent 722087f92a
commit f0c1efed9b
3 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ namespace Content.Server.Actions
return;
}
SoundSystem.Play(Filter.Pvs(args.Performer), "/Audio/Effects/thudswoosh.ogg", args.Performer,
SoundSystem.Play(Filter.Pvs(args.Performer), "/Audio/Effects/thudswoosh.ogg", args.Performer.Transform.Coordinates,
AudioHelpers.WithVariation(0.025f));
}
}