Reorders Sound Systems signatures to match Popup Systems. (#8728)
This commit is contained in:
@@ -216,7 +216,7 @@ public sealed class SuspicionRuleSystem : GameRuleSystem
|
||||
var filter = Filter.Empty()
|
||||
.AddWhere(session => ((IPlayerSession) session).ContentData()?.Mind?.HasRole<SuspicionTraitorRole>() ?? false);
|
||||
|
||||
SoundSystem.Play(filter, _addedSound.GetSound(), AudioParams.Default);
|
||||
SoundSystem.Play(_addedSound.GetSound(), filter, AudioParams.Default);
|
||||
|
||||
_doorSystem.AccessType = SharedDoorSystem.AccessTypes.AllowAllNoExternal;
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ public sealed class TraitorRuleSystem : GameRuleSystem
|
||||
traitor.Mind.Briefing = Loc.GetString("traitor-role-codewords", ("codewords", string.Join(", ",codewords)));
|
||||
}
|
||||
|
||||
SoundSystem.Play(Filter.Empty().AddWhere(s => ((IPlayerSession)s).Data.ContentData()?.Mind?.HasRole<TraitorRole>() ?? false), _addedSound.GetSound(), AudioParams.Default);
|
||||
SoundSystem.Play(_addedSound.GetSound(), Filter.Empty().AddWhere(s => ((IPlayerSession)s).Data.ContentData()?.Mind?.HasRole<TraitorRole>() ?? false), AudioParams.Default);
|
||||
}
|
||||
|
||||
private void OnRoundEndText(RoundEndTextAppendEvent ev)
|
||||
|
||||
Reference in New Issue
Block a user