h1-mod/data/ui_scripts/no_mode_switch/__init__.lua

14 lines
420 B
Lua
Raw Normal View History

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