Small fix

This commit is contained in:
fed 2022-03-04 10:38:06 +01:00
parent 82896a0a3d
commit 5ae5e711f2

View File

@ -88,17 +88,17 @@ function startupdatedownload(popup, autoclose)
updater.relaunch()
end
})
else
if (LUI.mp_menus) then
Engine.Exec("lui_restart; lui_open mp_main_menu")
else
Engine.Exec("lui_restart")
end
end
if (autoclose) then
LUI.FlowManager.RequestLeaveMenu(popup)
end
if (LUI.mp_menus) then
Engine.Exec("lui_restart; lui_open mp_main_menu")
else
Engine.Exec("lui_restart")
end
end
createtask({