Refactor all references to AudioSystem functions now that the old ones are obsolete. (#1081)
Co-authored-by: FL-OZ <anotherscuffed@gmail.com>
This commit is contained in:
@@ -85,7 +85,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
if (stomachComponent.TryTransferSolution(split))
|
||||
{
|
||||
_entitySystem.GetEntitySystem<AudioSystem>()
|
||||
.Play(_useSound, trueTarget, AudioParams.Default.WithVolume(-1f));
|
||||
.PlayFromEntity(_useSound, trueTarget, AudioParams.Default.WithVolume(-1f));
|
||||
trueTarget.PopupMessage(user, Loc.GetString("Nom"));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user