mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-10 00:43:59 +02:00
Following review
This commit is contained in:
parent
ab1f1d6d99
commit
f823b8addf
@ -18,7 +18,7 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
void HillFortInstanceConstructor::initTypeData(const JsonNode & 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(), "description"), parameters["description"].String());
|
||||
|
Loading…
Reference in New Issue
Block a user