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:
@@ -122,7 +122,7 @@ namespace Content.Server.GameObjects.Components.Research
|
||||
var soundCollection = _prototypeManager.Index<SoundCollectionPrototype>(_soundCollectionName);
|
||||
var file = _random.Pick(soundCollection.PickFiles);
|
||||
var audioSystem = EntitySystem.Get<AudioSystem>();
|
||||
audioSystem.Play(file,Owner,AudioParams.Default);
|
||||
audioSystem.PlayFromEntity(file,Owner,AudioParams.Default);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user