From a2fb5756784e2f825643806413a1e4133a6d9aaa Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Fri, 18 Oct 2024 18:25:43 +0200 Subject: [PATCH] Set SavedDataDeserializer on LocalScripts creation --- apps/openmw/mwlua/luamanagerimp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwlua/luamanagerimp.cpp b/apps/openmw/mwlua/luamanagerimp.cpp index 144ceb234d..1066e3c1bb 100644 --- a/apps/openmw/mwlua/luamanagerimp.cpp +++ b/apps/openmw/mwlua/luamanagerimp.cpp @@ -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));