1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

HillFort fix

This commit is contained in:
MichalZr6
2024-11-14 12:31:11 +01:00
parent f0a71c9e21
commit 7e2cad158a
2 changed files with 4 additions and 1 deletions

View File

@@ -1356,6 +1356,7 @@ std::string HillFort::getDescriptionToolTip() const
std::string HillFort::getUnavailableUpgradeMessage() const
{
assert(getObjectHandler()->getModScope() != "core");
return TextIdentifier(getObjectHandler()->getBaseTextID(), "unavailableUpgradeMessage").get();
}