diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-26 19:02:33 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-26 19:02:33 +1000 |
commit | f2afd91d0fcf4c4099e0617e6f103fd7142c18df (patch) | |
tree | 13432d9ace5e558ce0534b09fbc40da966b89d7e /source/frontend/StarTeleportDialog.cpp | |
parent | ddab1db73ffa936b63b56679aa43a8e9dd70da2e (diff) |
Fix Teams not functioning as swapped character
Diffstat (limited to 'source/frontend/StarTeleportDialog.cpp')
-rw-r--r-- | source/frontend/StarTeleportDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarTeleportDialog.cpp b/source/frontend/StarTeleportDialog.cpp index 01c6a69..c1ca4b4 100644 --- a/source/frontend/StarTeleportDialog.cpp +++ b/source/frontend/StarTeleportDialog.cpp @@ -79,7 +79,7 @@ TeleportDialog::TeleportDialog(UniverseClientPtr client, if (config.getBool("includePartyMembers", false)) { auto teamClient = m_client->teamClient(); for (auto member : teamClient->members()) { - if (member.uuid == m_client->mainPlayer()->uuid() || member.warpMode == WarpMode::None) + if (member.uuid == m_client->clientContext()->playerUuid() || member.warpMode == WarpMode::None) continue; auto entry = destList->addItem(); |