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

summaryrefslogtreecommitdiff
path: root/source/frontend/StarTeamBar.cpp
diff options
context:
space:
mode:
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() {