Skip to content

Commit

Permalink
Fix false-positive detection of fallback osu version
Browse files Browse the repository at this point in the history
fallback flag was being set if `LastVersionPermissionsFailed` option contained fallback version
  • Loading branch information
Piotrekol committed Jun 20, 2017
1 parent ff24fac commit 64bb5a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private void ReadSettings(string configPath)
var songDirectory = splitedLines[1].Trim(' ');
_customBeatmapDirectoryLocation = songDirectory;
}
if (cfgLine.StartsWith("LastVersion") && cfgLine.Contains(LAST_FALLBACK_VERSION))
if (cfgLine.StartsWith("LastVersion =") && cfgLine.Contains(LAST_FALLBACK_VERSION))
_isFallback = true;
}
}
Expand Down

0 comments on commit 64bb5a4

Please sign in to comment.