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/StarTeamBar.cpp | |
parent | ddab1db73ffa936b63b56679aa43a8e9dd70da2e (diff) |
Fix Teams not functioning as swapped character
Diffstat (limited to 'source/frontend/StarTeamBar.cpp')
-rw-r--r-- | source/frontend/StarTeamBar.cpp | 2 |
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() { |