interesting_string() don't add . to empty

This commit is contained in:
2025-04-06 11:16:33 -05:00
parent b25b851055
commit 48d30f2038

View File

@@ -179,7 +179,8 @@ std::string cItem::interesting_string() const {
if(got_string) sout << "; ";
sout << "Uses: " << charges;
}
sout << '.';
if(!sout.str().empty())
sout << '.';
return sout.str();
}