Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -216,11 +216,11 @@ namespace Content.Server.Cuffs.Components
|
||||
|
||||
if (isOwner)
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(Owner), cuff.StartBreakoutSound.GetSound(), Owner);
|
||||
SoundSystem.Play(cuff.StartBreakoutSound.GetSound(), Filter.Pvs(Owner), Owner);
|
||||
}
|
||||
else
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(Owner), cuff.StartUncuffSound.GetSound(), Owner);
|
||||
SoundSystem.Play(cuff.StartUncuffSound.GetSound(), Filter.Pvs(Owner), Owner);
|
||||
}
|
||||
|
||||
var uncuffTime = isOwner ? cuff.BreakoutTime : cuff.UncuffTime;
|
||||
@@ -242,7 +242,7 @@ namespace Content.Server.Cuffs.Components
|
||||
|
||||
if (result != DoAfterStatus.Cancelled)
|
||||
{
|
||||
SoundSystem.Play(Filter.Pvs(Owner), cuff.EndUncuffSound.GetSound(), Owner);
|
||||
SoundSystem.Play(cuff.EndUncuffSound.GetSound(), Filter.Pvs(Owner), Owner);
|
||||
|
||||
Container.ForceRemove(cuffsToRemove.Value);
|
||||
var transform = _entMan.GetComponent<TransformComponent>(cuffsToRemove.Value);
|
||||
|
||||
Reference in New Issue
Block a user