summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 3dc0a6df..1d0556a6 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -307,4 +307,9 @@ void Player::updateColors()
{
mNameColor = &guiPalette->getColor(Palette::PC);
}
+
+ if (mDispName)
+ {
+ mDispName->setColor(mNameColor);
+ }
}