1
0
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:
nordsoft
2022-12-16 02:49:52 +04:00
parent 1d59dfecef
commit 268b87052b

View File

@@ -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)