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:
@@ -330,7 +330,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
{
|
||||
var soundCollection = _prototypeManager.Index<SoundCollectionPrototype>(soundCollectionName);
|
||||
var file = _robustRandom.Pick(soundCollection.PickFiles);
|
||||
_audioSystem.Play(file, coordinates);
|
||||
_audioSystem.PlayAtCoords(file, coordinates);
|
||||
}
|
||||
catch (UnknownPrototypeException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user