Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -158,8 +158,8 @@ namespace Content.Server.StationEvents.Events
|
||||
|
||||
// Don't want it to be so obnoxious as to instantly murder anyone in the area but enough that
|
||||
// it COULD start potentially start a bigger fire.
|
||||
atmosphereSystem.HotspotExpose(_entityManager.GetComponent<TransformComponent>(_targetGrid).GridEntityId, _targetTile, 700f, 50f, true);
|
||||
SoundSystem.Play(Filter.Pvs(_targetCoords), "/Audio/Effects/sparks4.ogg", _targetCoords);
|
||||
atmosphereSystem.HotspotExpose(_entityManager.GetComponent<TransformComponent>(_targetGrid).GridID, _targetTile, 700f, 50f, true);
|
||||
SoundSystem.Play("/Audio/Effects/sparks4.ogg", Filter.Pvs(_targetCoords), _targetCoords);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace Content.Server.StationEvents.Events
|
||||
_announceCancelToken = new CancellationTokenSource();
|
||||
Timer.Spawn(3000, () =>
|
||||
{
|
||||
SoundSystem.Play(Filter.Broadcast(), "/Audio/Announcements/power_on.ogg", AudioParams);
|
||||
SoundSystem.Play("/Audio/Announcements/power_on.ogg", Filter.Broadcast(), AudioParams);
|
||||
}, _announceCancelToken.Token);
|
||||
_unpowered.Clear();
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ namespace Content.Server.StationEvents.Events
|
||||
|
||||
if (StartAudio != null)
|
||||
{
|
||||
SoundSystem.Play(Filter.Broadcast(), StartAudio.GetSound(), AudioParams);
|
||||
SoundSystem.Play(StartAudio.GetSound(), Filter.Broadcast(), AudioParams);
|
||||
}
|
||||
|
||||
Announced = true;
|
||||
@@ -170,7 +170,7 @@ namespace Content.Server.StationEvents.Events
|
||||
|
||||
if (EndAudio != null)
|
||||
{
|
||||
SoundSystem.Play(Filter.Broadcast(), EndAudio.GetSound(), AudioParams);
|
||||
SoundSystem.Play(EndAudio.GetSound(), Filter.Broadcast(), AudioParams);
|
||||
}
|
||||
|
||||
Started = false;
|
||||
|
||||
Reference in New Issue
Block a user