Skip to content

Commit

Permalink
Merge pull request #67 from Allough/patch-1
Browse files Browse the repository at this point in the history
Check for update IF
  • Loading branch information
reapazor committed Feb 19, 2016
2 parents 9a23536 + f98f220 commit 1c63d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/Editor/VSCode.cs
Expand Up @@ -253,7 +253,7 @@ static VSCode()

// Add Update Check
DateTime targetDate = LastUpdate.AddDays(UpdateTime);
if (DateTime.Now >= targetDate)
if (DateTime.Now >= targetDate && AutomaticUpdates)
{
CheckForUpdate();
}
Expand Down Expand Up @@ -1193,4 +1193,4 @@ private static void OnGeneratedCSProjectFiles()
VSCode.UpdateSolution();
}
}
}
}

0 comments on commit 1c63d87

Please sign in to comment.