Skip to content

Commit deb2e1c

Browse files
committed
fix: Round confliction logic +semver:patch
1 parent eff6889 commit deb2e1c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

TTT/SpecialRound/SpecialRoundStarter.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ private List<AbstractSpecialRound> getSpecialRounds() {
8686
var rounds = Provider.GetServices<ITerrorModule>()
8787
.OfType<AbstractSpecialRound>()
8888
.Where(r => r.Config.Weight > 0 && !exclude.Contains(r))
89-
.Where(r
90-
=> !exclude.Any(er => er.ConflictsWith(r) && !r.ConflictsWith(er)))
89+
.Where(r => !exclude.Any(er => er.ConflictsWith(r) || r.ConflictsWith(er)))
9190
.ToList();
9291
if (rounds.Count == 0) return null;
9392
var totalWeight = rounds.Sum(r => r.Config.Weight);

0 commit comments

Comments
 (0)