Skip to content

Commit

Permalink
I promise this will be the last backwards compatibility fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
David-JonesDVN committed Mar 22, 2020
1 parent d9b8484 commit 66970dd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Touhou Launcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,11 @@ public MainForm()
backwardsComp[i].crapCFG = new List<string> { "None", "None" };
backwardsComp[i].appLocale = new List<bool> { false, false, false, false };

if (curCfg.gameCFG[i - offset].category == backwardsComp[i].category)
backwardsComp[i] = curCfg.gameCFG[i - offset];
else
offset++;
if (i - offset < curCfg.gameCFG.Length)
if (curCfg.gameCFG[i - offset].category == backwardsComp[i].category)
backwardsComp[i] = curCfg.gameCFG[i - offset];
else
offset++;
}
curCfg.gameCFG = backwardsComp;
}
Expand Down

0 comments on commit 66970dd

Please sign in to comment.