Skip to content

Commit 51b0a95

Browse files
authored
Correct version checker
1 parent 49c46f6 commit 51b0a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BeatSaberOnline/Utils/AutoUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static IEnumerator GetLatestVersionDownload()
3636
string status = result[0]["approval"];
3737

3838
// Check if the remote version on modsaber is newer than what we have and if that version is approved
39-
if (latestVersion <= currentVersion && status == "approved") yield break;
39+
if (latestVersion <= currentVersion && status != "approved") yield break;
4040

4141
Data.Logger.Info($"Found a new version, lets download it {result[0]["files"]["steam"]["url"].Value}");
4242

0 commit comments

Comments
 (0)