Skip to content

Commit

Permalink
fixes syncing versions > 9 from hearthstats (HearthSim#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Epix37 committed Aug 22, 2015
1 parent 526e8e2 commit 5e0755b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hearthstone Deck Tracker/Utility/SerializableVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public static SerializableVersion ParseOrDefault(string verionString)
{
if(string.IsNullOrEmpty(verionString))
return Default;
if(verionString.Length == 1)
if(!verionString.Contains("."))
verionString += ".0";
Version version;
if(Version.TryParse(verionString.Replace("v", ""), out version))
Expand Down

0 comments on commit 5e0755b

Please sign in to comment.