diff options
author | Vladimir Krasheninnikov <boba09@list.ru> | 2025-02-22 19:27:09 +0100 |
---|---|---|
committer | Vladimir Krasheninnikov <boba09@list.ru> | 2025-02-22 19:27:09 +0100 |
commit | d0b15c335d9bf8b915e82d230a757671180bf80a (patch) | |
tree | e0f05690e30d3a1ef8ed02a90fe7343e132da3bc /source/frontend/StarMainInterface.cpp | |
parent | b28ef790ea54ac75be3cc4937525ceacbc8656fc (diff) |
Use UUID instead of names
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-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 e3b28eb..320cd4f 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -171,7 +171,7 @@ MainInterface::MainInterface(UniverseClientPtr client, WorldPainterPtr painter, auto charSelectionMenu = make_shared<CharSelectionPane>(m_client->playerStorage(), [=]() {}, [=](PlayerPtr mainPlayer) { m_client->playerStorage()->moveToFront(mainPlayer->uuid()); - m_client->switchPlayer(mainPlayer->name()); + m_client->switchPlayer(mainPlayer->uuid()); m_paneManager.dismissRegisteredPane(MainInterfacePanes::CharacterSwap); }, [=](Uuid) {}); charSelectionMenu->setAnchor(PaneAnchor::Center); |