replace main_choose_exe_popup_menu to directly exit game confirmation (#126)

This commit is contained in:
ジョク アーウェント 2022-06-28 19:51:39 +02:00 committed by GitHub
parent 1c0b9c0aae
commit fdec9e4155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,13 @@
LUI.MenuBuilder.m_definitions["main_choose_exe_popup_menu"] = function()
return {
type = "generic_yesno_popup",
id = "main_choose_exe_popup_menu_id",
properties = {
popup_title = Engine.Localize("@MENU_NOTICE"),
message_text = Engine.Localize("@MENU_QUIT_WARNING"),
yes_action = function()
Engine.Quit()
end
}
}
end