]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Add "Quit campaign" / "Quit current game" button to Singleplayer and Multiplayer...
authorterencehill <piuntn@gmail.com>
Mon, 3 May 2021 23:25:59 +0000 (01:25 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 3 May 2021 23:25:59 +0000 (01:25 +0200)
commit7aee456c7b8ee7e92e4fb59cf51ac51e4f35cd71
tree941afbc203aa2ce7ce38bb277d68d1bd6f3411c3
parent0b6e5d1712c75440273ee5d34d24186867e09c94
Add "Quit campaign" / "Quit current game" button to Singleplayer and Multiplayer / Create windows to properly quit campaign, and also disable the "Start Multiplayer!" button while playing the campaign.

This way it's no longer possible to start a multiplayer game while the campaign settings are still visible in Multiplayer / Create window (these settings are temporary and won't be applied anyway)
qcsrc/menu/menu.qh
qcsrc/menu/xonotic/dialog_multiplayer_create.qc
qcsrc/menu/xonotic/dialog_multiplayer_create.qh
qcsrc/menu/xonotic/dialog_singleplayer.qc
qcsrc/menu/xonotic/dialog_singleplayer.qh
qcsrc/menu/xonotic/maplist.qc