summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/player.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp
index b7370e03..453b8bdd 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -76,6 +76,10 @@ void Player::setName(const std::string &name)
{
color = &guiPalette->getColor(Palette::SELF);
}
+ else if (mIsGM)
+ {
+ color = &guiPalette->getColor(Palette::GM);
+ }
else if (mInParty)
{
color = &guiPalette->getColor(Palette::PARTY);