From f2afd91d0fcf4c4099e0617e6f103fd7142c18df Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:02:33 +1000 Subject: Fix Teams not functioning as swapped character --- source/frontend/StarTeleportDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarTeleportDialog.cpp') 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(); -- cgit v1.2.3