Fix text
This commit is contained in:
parent
d131749a3c
commit
afd9df7269
@ -77,6 +77,10 @@ LUI.openpopupmenu = function(menu, args)
|
|||||||
end
|
end
|
||||||
|
|
||||||
LUI.onmenuopen("main_lockout", function()
|
LUI.onmenuopen("main_lockout", function()
|
||||||
|
if (game:isdebugbuild()) then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
if (game:sharedget("has_tried_updating") == "") then
|
if (game:sharedget("has_tried_updating") == "") then
|
||||||
game:ontimeout(function()
|
game:ontimeout(function()
|
||||||
game:sharedset("has_tried_updating", "1")
|
game:sharedset("has_tried_updating", "1")
|
||||||
@ -327,7 +331,7 @@ function tryupdate(autoclose)
|
|||||||
if (updatebinary) then
|
if (updatebinary) then
|
||||||
LUI.confirmationpopup({
|
LUI.confirmationpopup({
|
||||||
title = "RESTART REQUIRED",
|
title = "RESTART REQUIRED",
|
||||||
text = "Update requires restart, relaunch now?",
|
text = "Update requires restart",
|
||||||
buttontext = "RESTART",
|
buttontext = "RESTART",
|
||||||
callback = function()
|
callback = function()
|
||||||
game:relaunch()
|
game:relaunch()
|
||||||
|
Loading…
Reference in New Issue
Block a user