mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Following review
This commit is contained in:
@@ -18,7 +18,7 @@ VCMI_LIB_NAMESPACE_BEGIN
|
|||||||
void HillFortInstanceConstructor::initTypeData(const JsonNode & config)
|
void HillFortInstanceConstructor::initTypeData(const JsonNode & config)
|
||||||
{
|
{
|
||||||
parameters = config;
|
parameters = config;
|
||||||
if(getModScope() != "core")
|
if(!parameters["unavailableUpgradeMessage"].isNull())
|
||||||
VLC->generaltexth->registerString(parameters.getModScope(), TextIdentifier(getBaseTextID(), "unavailableUpgradeMessage"), parameters["unavailableUpgradeMessage"].String());
|
VLC->generaltexth->registerString(parameters.getModScope(), TextIdentifier(getBaseTextID(), "unavailableUpgradeMessage"), parameters["unavailableUpgradeMessage"].String());
|
||||||
|
|
||||||
VLC->generaltexth->registerString(parameters.getModScope(), TextIdentifier(getBaseTextID(), "description"), parameters["description"].String());
|
VLC->generaltexth->registerString(parameters.getModScope(), TextIdentifier(getBaseTextID(), "description"), parameters["description"].String());
|
||||||
|
|||||||
Reference in New Issue
Block a user