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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user