summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 508104d27..26ed555c2 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3504,7 +3504,7 @@ void Being::showGmBadge(const bool show) restrict2
mShowBadges != 0u &&
GroupDb::getShowBadge(mGroupId))
{
- const std::string gmBadge = GroupDb::getBadge(mGroupId);
+ const std::string &gmBadge = GroupDb::getBadge(mGroupId);
if (!gmBadge.empty())
{
mBadges[BadgeIndex::Gm] = AnimatedSprite::load(