diff options
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 633be5d53..edc177f17 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1734,7 +1734,10 @@ void Being::updateColors() { mTextColor = &Theme::getThemeColor(Theme::PLAYER); - mErased = false; + if (player_relations.getRelation(mName) != PlayerRelation::ERASED) + mErased = false; + else + mErased = true; if (mIsGM) { @@ -1776,7 +1779,6 @@ void Being::updateColors() PlayerRelation::ERASED) { mNameColor = &userPalette->getColor(UserPalette::ERASED); - mErased = true; } else { |