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:
@@ -76,7 +76,7 @@ namespace Content.Server.GameObjects.Components.Destructible
|
||||
_actSystem.HandleDestruction(Owner, true);
|
||||
if(destroySound != string.Empty)
|
||||
{
|
||||
EntitySystem.Get<AudioSystem>().Play(destroySound, pos);
|
||||
EntitySystem.Get<AudioSystem>().PlayAtCoords(destroySound, pos);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user