Small fix
This commit is contained in:
parent
82896a0a3d
commit
5ae5e711f2
@ -88,12 +88,7 @@ function startupdatedownload(popup, autoclose)
|
||||
updater.relaunch()
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
if (autoclose) then
|
||||
LUI.FlowManager.RequestLeaveMenu(popup)
|
||||
end
|
||||
|
||||
else
|
||||
if (LUI.mp_menus) then
|
||||
Engine.Exec("lui_restart; lui_open mp_main_menu")
|
||||
else
|
||||
@ -101,6 +96,11 @@ function startupdatedownload(popup, autoclose)
|
||||
end
|
||||
end
|
||||
|
||||
if (autoclose) then
|
||||
LUI.FlowManager.RequestLeaveMenu(popup)
|
||||
end
|
||||
end
|
||||
|
||||
createtask({
|
||||
done = updater.isupdatedownloaddone,
|
||||
cancelled = isupdatecancelled,
|
||||
|
Loading…
Reference in New Issue
Block a user