From d209a9931ec4f7e3f76ae024a96abe4bd348c5b0 Mon Sep 17 00:00:00 2001 From: Vlad Loktionov Date: Thu, 20 Apr 2023 04:14:55 +0300 Subject: [PATCH] Add 'Quit to desktop' button in pause menu --- data/ui_scripts/party/__init__.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/data/ui_scripts/party/__init__.lua b/data/ui_scripts/party/__init__.lua index 741d9378..58e4170e 100644 --- a/data/ui_scripts/party/__init__.lua +++ b/data/ui_scripts/party/__init__.lua @@ -80,5 +80,6 @@ DataSources.StartMenuGameOptions = ListHelper_SetupDataSource("StartMenuGameOpti table.insert(options, {models = {displayText = "MENU_QUIT_GAME_CAPS", action = QuitGame_MP}}) end end + table.insert(options, {models = {displayText = "QUIT TO DESKTOP", action = OpenPCQuit}}) return options end, true)