Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -148,7 +148,7 @@ namespace Content.Server.Atmos.Components
|
||||
_connectStream?.Stop();
|
||||
|
||||
if (_connectSound != null)
|
||||
_connectStream = SoundSystem.Play(Filter.Pvs(Owner, entityManager: _entMan), _connectSound.GetSound(), Owner, _connectSound.Params);
|
||||
_connectStream = SoundSystem.Play(_connectSound.GetSound(), Filter.Pvs(Owner, entityManager: _entMan), Owner, _connectSound.Params);
|
||||
|
||||
UpdateUserInterface();
|
||||
}
|
||||
@@ -162,7 +162,7 @@ namespace Content.Server.Atmos.Components
|
||||
_disconnectStream?.Stop();
|
||||
|
||||
if (_disconnectSound != null)
|
||||
_disconnectStream = SoundSystem.Play(Filter.Pvs(Owner, entityManager: _entMan), _disconnectSound.GetSound(), Owner, _disconnectSound.Params);
|
||||
_disconnectStream = SoundSystem.Play(_disconnectSound.GetSound(), Filter.Pvs(Owner, entityManager: _entMan), Owner, _disconnectSound.Params);
|
||||
|
||||
UpdateUserInterface();
|
||||
}
|
||||
@@ -260,7 +260,7 @@ namespace Content.Server.Atmos.Components
|
||||
if(environment != null)
|
||||
atmosphereSystem.Merge(environment, Air);
|
||||
|
||||
SoundSystem.Play(Filter.Pvs(Owner), _ruptureSound.GetSound(), _entMan.GetComponent<TransformComponent>(Owner).Coordinates, AudioHelpers.WithVariation(0.125f));
|
||||
SoundSystem.Play(_ruptureSound.GetSound(), Filter.Pvs(Owner), _entMan.GetComponent<TransformComponent>(Owner).Coordinates, AudioHelpers.WithVariation(0.125f));
|
||||
|
||||
_entMan.QueueDeleteEntity(Owner);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user