|
@@ -277,7 +277,7 @@ CMenuEntry::CMenuEntry(CMenuScreen * parent, const JsonNode & config)
|
|
for (const auto& item : campaign["items"].Vector()) {
|
|
for (const auto& item : campaign["items"].Vector()) {
|
|
std::string filename = item["file"].String();
|
|
std::string filename = item["file"].String();
|
|
|
|
|
|
- if (CResourceHandler::get()->existsResource(ResourcePath(filename + ".h3c"))) {
|
|
|
|
|
|
+ if (CResourceHandler::get()->existsResource(ResourcePath(filename, EResType::CAMPAIGN))) {
|
|
fileExists = true;
|
|
fileExists = true;
|
|
break;
|
|
break;
|
|
}
|
|
}
|