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:
@@ -128,7 +128,7 @@ namespace Content.Server.GameObjects.Components.Power
|
||||
var soundCollection = _prototypeManager.Index<SoundCollectionPrototype>("glassbreak");
|
||||
var file = _random.Pick(soundCollection.PickFiles);
|
||||
|
||||
EntitySystem.Get<AudioSystem>().Play(file, Owner);
|
||||
EntitySystem.Get<AudioSystem>().PlayFromEntity(file, Owner);
|
||||
|
||||
State = LightBulbState.Broken;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user