Set SavedDataDeserializer on LocalScripts creation

pull/3236/head
Evil Eye 2 months ago
parent bac0018a09
commit a2fb575678

@ -570,6 +570,7 @@ namespace MWLua
scripts->addPackage(name, package);
}
scripts->setSerializer(mLocalSerializer.get());
scripts->setSavedDataDeserializer(mLocalLoader.get());
MWWorld::RefData& refData = ptr.getRefData();
refData.setLuaScripts(std::move(scripts));

Loading…
Cancel
Save