From 88f5537eb042d2da604d494fbd5e473f179dfc33 Mon Sep 17 00:00:00 2001 From: Aragas Date: Sat, 3 Dec 2016 19:47:52 +0300 Subject: [PATCH] version comparison fix --- 2.5DHero/2.5DHero/Network/GameJolt/LogInScreen.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.5DHero/2.5DHero/Network/GameJolt/LogInScreen.vb b/2.5DHero/2.5DHero/Network/GameJolt/LogInScreen.vb index 88772b1bc..4ce9d442d 100644 --- a/2.5DHero/2.5DHero/Network/GameJolt/LogInScreen.vb +++ b/2.5DHero/2.5DHero/Network/GameJolt/LogInScreen.vb @@ -330,7 +330,7 @@ Namespace GameJolt Private Sub VerifyVersion(ByVal result As String) Dim list As List(Of GameJolt.API.JoltValue) = GameJolt.API.HandleData(result) If CBool(list(0).Value) = True Then - If list(1).Value = GameController.GAMEVERSION Or GameController.IS_DEBUG_ACTIVE = True Then + If Version.Parse(list(1).Value) <= Version.Parse(GameController.GAMEVERSION) Or GameController.IS_DEBUG_ACTIVE = True Then Dim APICall As New APICall(AddressOf VerifyResult) APICall.VerifyUser(UserName.Text, Token.Text) Else