Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
|
||||
private void ClickSound()
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(Owner), _clickSound.GetSound(), Owner, AudioParams.Default.WithVolume(-2f));
|
||||
SoundSystem.Play(_clickSound.GetSound(), Filter.Pvs(Owner), Owner, AudioParams.Default.WithVolume(-2f));
|
||||
}
|
||||
|
||||
protected override void OnRemove()
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
|
||||
private void ClickSound()
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(Owner), _clickSound.GetSound(), Owner, AudioParams.Default.WithVolume(-2f));
|
||||
SoundSystem.Play(_clickSound.GetSound(), Filter.Pvs(Owner), Owner, AudioParams.Default.WithVolume(-2f));
|
||||
}
|
||||
|
||||
protected override void OnRemove()
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace Content.Server.Disposal.Tube
|
||||
}
|
||||
|
||||
component.LastClang = _gameTiming.CurTime;
|
||||
SoundSystem.Play(Filter.Pvs(uid), component.ClangSound.GetSound(), uid);
|
||||
SoundSystem.Play(component.ClangSound.GetSound(), Filter.Pvs(uid), uid);
|
||||
}
|
||||
|
||||
private void OnBreak(EntityUid uid, DisposalTubeComponent component, BreakageEventArgs args)
|
||||
|
||||
@@ -200,7 +200,7 @@ namespace Content.Server.Disposal.Unit.EntitySystems
|
||||
break;
|
||||
case SharedDisposalUnitComponent.UiButton.Power:
|
||||
TogglePower(component);
|
||||
SoundSystem.Play(Filter.Pvs(component.Owner), "/Audio/Machines/machine_switch.ogg", component.Owner, AudioParams.Default.WithVolume(-2f));
|
||||
SoundSystem.Play("/Audio/Machines/machine_switch.ogg", Filter.Pvs(component.Owner), component.Owner, AudioParams.Default.WithVolume(-2f));
|
||||
break;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException();
|
||||
|
||||
Reference in New Issue
Block a user