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

summaryrefslogtreecommitdiff
path: root/source/frontend/StarTeamBar.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/StarTeamBar.cpp
parentddab1db73ffa936b63b56679aa43a8e9dd70da2e (diff)
Fix Teams not functioning as swapped character
Diffstat (limited to 'source/frontend/StarTeamBar.cpp')
-rw-r--r--source/frontend/StarTeamBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarTeamBar.cpp b/source/frontend/StarTeamBar.cpp
index a378040..f34961b 100644
--- a/source/frontend/StarTeamBar.cpp
+++ b/source/frontend/StarTeamBar.cpp
@@ -132,7 +132,7 @@ void TeamBar::updatePlayerResources() {
m_energyBar->setColor(m_energyBarColor.mix(m_energyBarRegenMixColor, player->energyRegenBlockPercent()));
}
- m_nameLabel->setText(m_client->mainPlayer()->name());
+ m_nameLabel->setText(player->name());
}
void TeamBar::inviteButton() {