diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index a2cdf110f..9029b5ae1 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -5345,7 +5345,7 @@ void Being::setLanguageId(const int lang) restrict2 noexcept2 if (lang != mLanguageId) { delete2(mBadges[BadgeIndex::Lang]); - const std::string badge = LanguageDb::getIcon(lang); + const std::string &badge = LanguageDb::getIcon(lang); if (!badge.empty()) { mBadges[BadgeIndex::Lang] = AnimatedSprite::load(pathJoin( |