mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 15:54:25 +02:00
version comparison fix
This commit is contained in:
parent
214888dbcf
commit
88f5537eb0
@ -330,7 +330,7 @@ Namespace GameJolt
|
|||||||
Private Sub VerifyVersion(ByVal result As String)
|
Private Sub VerifyVersion(ByVal result As String)
|
||||||
Dim list As List(Of GameJolt.API.JoltValue) = GameJolt.API.HandleData(result)
|
Dim list As List(Of GameJolt.API.JoltValue) = GameJolt.API.HandleData(result)
|
||||||
If CBool(list(0).Value) = True Then
|
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)
|
Dim APICall As New APICall(AddressOf VerifyResult)
|
||||||
APICall.VerifyUser(UserName.Text, Token.Text)
|
APICall.VerifyUser(UserName.Text, Token.Text)
|
||||||
Else
|
Else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user