1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 06:09:42 +00:00

Make actor.providedServices read only

This commit is contained in:
Zackhasacat 2023-11-16 15:23:09 +00:00 committed by uramer
parent 231803c6ea
commit cbfcd21d98

View file

@ -45,7 +45,7 @@ namespace MWLua
providedServices[name] = (services & flag) != 0;
}
providedServices["Travel"] = !rec.getTransport().empty();
return providedServices;
return LuaUtil::makeReadOnly(providedServices);
});
}
}