summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index cc88d8f6e..1924a8944 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -871,8 +871,12 @@ void Being::updateGuild()
return;
}
if (guild->getMember(getName()))
+ {
setGuild(guild);
- updateColors();
+ if (!guild->getName().empty())
+ mGuildName = guild->getName();
+ updateColors();
+ }
}
void Being::setGuild(Guild *guild)