Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -33,6 +33,6 @@ public sealed class FlyBySoundSystem : SharedFlyBySoundSystem
|
||||
if (args.OurFixture.ID != FlyByFixture ||
|
||||
!_random.Prob(component.Prob)) return;
|
||||
|
||||
SoundSystem.Play(Filter.Local(), component.Sound.GetSound(), uid, component.Sound.Params);
|
||||
SoundSystem.Play(component.Sound.GetSound(), Filter.Local(), uid, component.Sound.Params);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ public sealed partial class GunSystem : SharedGunSystem
|
||||
protected override void PlaySound(EntityUid gun, string? sound, EntityUid? user = null)
|
||||
{
|
||||
if (sound == null || user == null || !Timing.IsFirstTimePredicted) return;
|
||||
SoundSystem.Play(Filter.Local(), sound, gun);
|
||||
SoundSystem.Play(sound, Filter.Local(), gun);
|
||||
}
|
||||
|
||||
protected override void Popup(string message, EntityUid? uid, EntityUid? user)
|
||||
|
||||
Reference in New Issue
Block a user