Skip to content

Commit

Permalink
Update VersionCheck to use config
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero committed Aug 5, 2020
1 parent 56f4b84 commit 212338e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QModManager/Checks/VersionCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static class VersionCheck

internal static void Check()
{
if (PlayerPrefs.GetInt("QModManager_EnableUpdateCheck", 1) == 0)
if (!Config.CheckForUpdates)
{
Logger.Info("Update check disabled");
return;
Expand Down

0 comments on commit 212338e

Please sign in to comment.
  翻译: