Update sPhone.lua
This commit is contained in:
parent
80754b5984
commit
d98b125556
1 changed files with 3 additions and 6 deletions
|
@ -763,13 +763,10 @@ end
|
||||||
|
|
||||||
sPhone.lock = login
|
sPhone.lock = login
|
||||||
sPhone.login = login
|
sPhone.login = login
|
||||||
if not sPhone.devMode then
|
|
||||||
local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readLine()
|
local newVersion = http.get("https://raw.githubusercontent.com/Sertex-Team/sPhone/master/src/version").readLine()
|
||||||
else
|
|
||||||
local newVersion = "DEV MODE"
|
|
||||||
end
|
|
||||||
|
|
||||||
if newVersion ~= sPhone.version and not sPhone.devMode then
|
if newVersion ~= sPhone.version then
|
||||||
sPhone.newUpdate = true
|
sPhone.newUpdate = true
|
||||||
else
|
else
|
||||||
sPhone.newUpdate = false
|
sPhone.newUpdate = false
|
||||||
|
|
Loading…
Reference in a new issue