Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Content.Server.Cargo.Components
|
||||
if (!_cargoConsoleSystem.AddOrder(orders.Database.Id, msg.Requester, msg.Reason, msg.ProductId,
|
||||
msg.Amount, _bankAccount.Id))
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(Owner), _errorSound.GetSound(), Owner, AudioParams.Default);
|
||||
SoundSystem.Play(_errorSound.GetSound(), Filter.Pvs(Owner), Owner, AudioParams.Default);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ namespace Content.Server.Cargo.Components
|
||||
|| !_cargoConsoleSystem.ChangeBalance(_bankAccount.Id, (-product.PointCost) * order.Amount))
|
||||
)
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(Owner), _errorSound.GetSound(), Owner, AudioParams.Default);
|
||||
SoundSystem.Play(_errorSound.GetSound(), Filter.Pvs(Owner), Owner, AudioParams.Default);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ public sealed partial class CargoSystem
|
||||
|
||||
var product = comp.TeleportQueue.Pop();
|
||||
|
||||
SoundSystem.Play(Filter.Pvs(comp.Owner), comp.TeleportSound.GetSound(), comp.Owner, AudioParams.Default.WithVolume(-8f));
|
||||
SoundSystem.Play(comp.TeleportSound.GetSound(), Filter.Pvs(comp.Owner), comp.Owner, AudioParams.Default.WithVolume(-8f));
|
||||
SpawnProduct(comp, product);
|
||||
|
||||
comp.CurrentState = CargoTelepadState.Teleporting;
|
||||
|
||||
Reference in New Issue
Block a user