内部测试版本不会提示当前版本旧

This commit is contained in:
MrZ626
2020-12-03 00:14:04 +08:00
parent a0fb59973c
commit d7b57a77c6

View File

@@ -100,7 +100,7 @@ function Tick.httpREQ_launch(data)
if res then
if response.code==200 then
LOG.print(res.notice,360,COLOR.sky)
if VERSION_CODE==res.version_code then
if VERSION_CODE>=res.version_code then
LOG.print(text.versionIsNew,360,COLOR.sky)
else
LOG.print(string.gsub(text.versionIsOld,"$1",res.version_name),"warn")