diff --git a/src/units/unit.cpp b/src/units/unit.cpp index 5d7daa54408..753aed06115 100644 --- a/src/units/unit.cpp +++ b/src/units/unit.cpp @@ -1023,6 +1023,10 @@ std::string unit::small_profile() const return small_profile_; } + if(!profile_.empty() && small_profile_ != "unit_image" && profile_ != "unit_image") { + return profile_; + } + return absolute_image(); }