From afd9df7269a5a129c37b5cf42b1dd0161310f9fa Mon Sep 17 00:00:00 2001 From: fed <58637860+fedddddd@users.noreply.github.com> Date: Mon, 31 Jan 2022 09:33:07 +0100 Subject: [PATCH] Fix text --- src/client/resources/updater.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/resources/updater.lua b/src/client/resources/updater.lua index 0787bacf..a75f7b2e 100644 --- a/src/client/resources/updater.lua +++ b/src/client/resources/updater.lua @@ -77,6 +77,10 @@ LUI.openpopupmenu = function(menu, args) end LUI.onmenuopen("main_lockout", function() + if (game:isdebugbuild()) then + return + end + if (game:sharedget("has_tried_updating") == "") then game:ontimeout(function() game:sharedset("has_tried_updating", "1") @@ -327,7 +331,7 @@ function tryupdate(autoclose) if (updatebinary) then LUI.confirmationpopup({ title = "RESTART REQUIRED", - text = "Update requires restart, relaunch now?", + text = "Update requires restart", buttontext = "RESTART", callback = function() game:relaunch()