diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-02-23 06:22:09 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-02-23 06:22:09 +1100 |
commit | 2b7d7cbdd88d97b581cbd283ffddb128df91ea73 (patch) | |
tree | 5395082ecae8a808fe62ab8cb9d1a2e3848db307 /source/frontend | |
parent | 70e7b383902f0f5c16e47b20095953c7e0e1100b (diff) |
Update StarMainInterface.cpp
Diffstat (limited to 'source/frontend')
-rw-r--r-- | source/frontend/StarMainInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 2b2bb5f..033e1c9 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -171,12 +171,12 @@ MainInterface::MainInterface(UniverseClientPtr client, WorldPainterPtr painter, auto charSelectionMenu = make_shared<CharSelectionPane>(m_client->playerStorage(), [=]() {}, [=](PlayerPtr mainPlayer) { + m_client->switchPlayer(mainPlayer->uuid()); auto configuration = Root::singleton().configuration(); if (configuration->get("characterSwapMovesToFront", false).toBool()) m_client->playerStorage()->moveToFront(mainPlayer->uuid()); if (configuration->get("characterSwapDismisses", false).toBool()) m_paneManager.dismissRegisteredPane(MainInterfacePanes::CharacterSwap); - m_client->switchPlayer(mainPlayer->uuid()); }, [=](Uuid) {}); { charSelectionMenu->setReadOnly(true); |