mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-11-29 02:34:51 +01:00
refactor: always print current version to server console
This commit is contained in:
1 parent
c3975e9f53
commit
040141f4c8
1 file changed
+3
-2
@@ -58,9 +58,10 @@ PerformHttpRequest( "https://wolfknight98.github.io/wk_wars2x_web/version.txt",
|
||||
-- Get the current resource version
|
||||
local curVer = GetCurrentVersion()
|
||||
|
||||
print( " || Current version: " .. curVer )
|
||||
|
||||
if ( text ~= nil ) then
|
||||
-- Print out the current and latest version
|
||||
print( " || Current version: " .. curVer )
|
||||
-- Print latest version
|
||||
print( " || Latest recommended version: " .. text .."\n ||" )
|
||||
|
||||
-- If the versions are different, print it out
|
||||
|
||||
Reference in new issue
Block a user