Skip to content

Commit

Permalink
Merge branch 'userdataplz' into 'master'
Browse files Browse the repository at this point in the history
Set SavedDataDeserializer on LocalScripts creation

See merge request OpenMW/openmw!4409
  • Loading branch information
psi29a committed Oct 20, 2024
2 parents 0833815 + a2fb575 commit 9325c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/openmw/mwlua/luamanagerimp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 9325c80

Please sign in to comment.