mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Fixed version check has wrong URL
This commit is contained in:
@@ -9,7 +9,7 @@ function GetCurrentVersion()
|
|||||||
return GetResourceMetadata( GetCurrentResourceName(), "version" )
|
return GetResourceMetadata( GetCurrentResourceName(), "version" )
|
||||||
end
|
end
|
||||||
|
|
||||||
PerformHttpRequest( "https://wolfknight98.github.io/wk_wars2x/docs/version.txt", function( err, text, headers )
|
PerformHttpRequest( "https://wolfknight98.github.io/wk_wars2x/version.txt", function( err, text, headers )
|
||||||
Citizen.Wait( 2000 )
|
Citizen.Wait( 2000 )
|
||||||
|
|
||||||
local curVer = GetCurrentVersion()
|
local curVer = GetCurrentVersion()
|
||||||
|
|||||||
Reference in New Issue
Block a user