mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Mod system improvement Part I : Fix content losing after deserialization
This commit is contained in:
@@ -1038,7 +1038,7 @@ void CSpellHandler::update780()
|
||||
{
|
||||
static_assert(MINIMAL_SERIALIZATION_VERSION < 780, "No longer needed CSpellHandler::update780");
|
||||
|
||||
auto spellsContent = VLC->modh->content["spells"];
|
||||
auto spellsContent = (*VLC->modh->content)["spells"];
|
||||
|
||||
const ContentTypeHandler::ModInfo & coreData = spellsContent.modData.at("core");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user