Skip to content

Commit

Permalink
Merge pull request #44 from niezbop/fix/update_window
Browse files Browse the repository at this point in the history
Fix update window offering to update to old versions
  • Loading branch information
niezbop authored Dec 14, 2017
2 parents 192bf77 + 5238cdc commit 6d713a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Plugins/Editor/Uplift/Windows/UpdateWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ InstalledPackage installed
{
EditorGUILayout.LabelField("Installed version: " + installed.Version);

if(installed.Version != bestMatch.Package.PackageVersion)
if(VersionParser.GreaterThan(bestMatch.Package.PackageVersion, installed.Version))
{
EditorGUILayout.HelpBox(
string.Format(
Expand Down

0 comments on commit 6d713a1

Please sign in to comment.