1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

json validation & mithril remove

This commit is contained in:
Laserlicht
2025-09-16 01:52:47 +02:00
parent 2bf9454b77
commit 3ec731ef6e
11 changed files with 20 additions and 74 deletions

View File

@@ -34,10 +34,6 @@ void ResourceSet::serializeJson(JsonSerializeFormat & handler, const std::string
for(auto & idx : LIBRARY->resourceTypeHandler->getAllObjects())
{
//TODO: add proper support for mithril to map format
if(idx == EGameResID::MITHRIL)
continue;
handler.serializeInt(idx.toResource()->getJsonKey(), this->operator[](idx), 0);
}
}