mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fix for hint
This commit is contained in:
@@ -154,8 +154,8 @@ std::pair<std::string, std::string> InterfaceObjectConfigurable::readHintText(co
|
|||||||
|
|
||||||
if(config.getType() == JsonNode::JsonType::DATA_STRUCT)
|
if(config.getType() == JsonNode::JsonType::DATA_STRUCT)
|
||||||
{
|
{
|
||||||
result.first = config["hover"].String();
|
result.first = readText(config["hover"]);
|
||||||
result.second = config["help"].String();
|
result.second = readText(config["help"]);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
if(config.getType() == JsonNode::JsonType::DATA_STRING)
|
if(config.getType() == JsonNode::JsonType::DATA_STRING)
|
||||||
|
|||||||
Reference in New Issue
Block a user