Merge branch 'userdataplz' into 'master'

Set SavedDataDeserializer on LocalScripts creation

See merge request OpenMW/openmw!4409
pull/3236/head
psi29a 2 months ago
commit 9325c80244

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