Keep multiplayer in kart selection screen after reloading

This commit is contained in:
CodingJellyfish 2024-04-19 13:35:37 +08:00
parent 2f87966ff6
commit 913a082528
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ static const char ID_DONT_USE[] = "x";
static const char ID_LOCKED[] = "locked/";
KartSelectionScreen* KartSelectionScreen::m_instance_ptr = NULL;
bool KartSelectionScreen::m_multiplayer = false;
int g_root_id;

View File

@ -62,7 +62,7 @@ protected:
friend class GUIEngine::ScreenSingleton<KartSelectionScreen>;
friend class GUIEngine::PlayerKartWidget;
bool m_multiplayer;
static bool m_multiplayer;
/** Whether this screen is being visited from overworld or not */
bool m_from_overworld;