1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Fix some identifiers using shortened naming

This commit is contained in:
Joseph Madamba 2021-12-09 21:15:38 -08:00
parent 7de43e3aba
commit 5082b0e63f
2 changed files with 4 additions and 4 deletions

View File

@ -208,10 +208,10 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
{ {
if (Match.Round.Value == null) return; if (Match.Round.Value == null) return;
int instaWinAmount = Match.Round.Value.BestOf.Value / 2; int instantWinAmount = Match.Round.Value.BestOf.Value / 2;
Match.Completed.Value = Match.Round.Value.BestOf.Value > 0 Match.Completed.Value = Match.Round.Value.BestOf.Value > 0
&& (Match.Team1Score.Value + Match.Team2Score.Value >= Match.Round.Value.BestOf.Value || Match.Team1Score.Value > instaWinAmount || Match.Team2Score.Value > instaWinAmount); && (Match.Team1Score.Value + Match.Team2Score.Value >= Match.Round.Value.BestOf.Value || Match.Team1Score.Value > instantWinAmount || Match.Team2Score.Value > instantWinAmount);
} }
protected override void LoadComplete() protected override void LoadComplete()

View File

@ -235,9 +235,9 @@ namespace osu.Game.IO.Legacy
if (typeName.Contains("System.Collections.Generic") && typeName.Contains("[[")) if (typeName.Contains("System.Collections.Generic") && typeName.Contains("[["))
{ {
string[] splitTyps = typeName.Split('['); string[] splitTypes = typeName.Split('[');
foreach (string typ in splitTyps) foreach (string typ in splitTypes)
{ {
if (typ.Contains("Version")) if (typ.Contains("Version"))
{ {