Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarTeleportDialog.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-26 19:02:33 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-26 19:02:33 +1000
commitf2afd91d0fcf4c4099e0617e6f103fd7142c18df (patch)
tree13432d9ace5e558ce0534b09fbc40da966b89d7e /source/frontend/StarTeleportDialog.cpp
parentddab1db73ffa936b63b56679aa43a8e9dd70da2e (diff)
Fix Teams not functioning as swapped character
Diffstat (limited to 'source/frontend/StarTeleportDialog.cpp')
-rw-r--r--source/frontend/StarTeleportDialog.cpp2
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();