Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -123,7 +123,7 @@ namespace Content.Server.Light.EntitySystems
|
||||
{
|
||||
case ExpendableLightState.Lit:
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(component.Owner), component.LitSound.GetSound(), component.Owner);
|
||||
SoundSystem.Play(component.LitSound.GetSound(), Filter.Pvs(component.Owner), component.Owner);
|
||||
|
||||
if (component.IconStateLit != string.Empty)
|
||||
{
|
||||
@@ -142,7 +142,7 @@ namespace Content.Server.Light.EntitySystems
|
||||
case ExpendableLightState.Dead:
|
||||
{
|
||||
if (component.DieSound != null)
|
||||
SoundSystem.Play(Filter.Pvs(component.Owner), component.DieSound.GetSound(), component.Owner);
|
||||
SoundSystem.Play(component.DieSound.GetSound(), Filter.Pvs(component.Owner), component.Owner);
|
||||
|
||||
sprite.LayerSetState(0, component.IconStateSpent);
|
||||
sprite.LayerSetShader(0, "shaded");
|
||||
|
||||
Reference in New Issue
Block a user