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:
@@ -74,7 +74,7 @@ namespace Content.Server.GameObjects.Components.Interactable
|
||||
SetTool();
|
||||
var current = _tools[_currentTool];
|
||||
if(!string.IsNullOrEmpty(current.ChangeSound))
|
||||
_audioSystem.Play(current.ChangeSound, Owner);
|
||||
_audioSystem.PlayFromEntity(current.ChangeSound, Owner);
|
||||
}
|
||||
|
||||
private void SetTool()
|
||||
|
||||
Reference in New Issue
Block a user