mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Fix incorrect best-of- scoring method
This commit is contained in:
parent
a113cf4118
commit
8d773fec97
@ -114,7 +114,9 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
|
||||
{
|
||||
if (conditions.Value == null) return;
|
||||
|
||||
Pairing.Completed.Value = Pairing.Team1Score.Value + Pairing.Team2Score.Value >= Pairing.BestOf.Value;
|
||||
var instaWinAmount = Pairing.BestOf.Value / 2;
|
||||
|
||||
Pairing.Completed.Value = Pairing.Team1Score + Pairing.Team2Score >= Pairing.BestOf || Pairing.Team1Score > instaWinAmount || Pairing.Team2Score > instaWinAmount;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
@ -25,7 +25,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
|
||||
|
||||
public readonly Bindable<bool> Completed = new Bindable<bool>();
|
||||
|
||||
public readonly BindableInt BestOf = new BindableInt(5);
|
||||
public readonly BindableInt BestOf = new BindableInt(11);
|
||||
|
||||
[JsonIgnore]
|
||||
public readonly Bindable<MatchPairing> Progression = new Bindable<MatchPairing>();
|
||||
|
Loading…
Reference in New Issue
Block a user