1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-31 10:20:13 +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[name] = (services & flag) != 0;
} }
providedServices["Travel"] = !rec.getTransport().empty(); providedServices["Travel"] = !rec.getTransport().empty();
return providedServices; return LuaUtil::makeReadOnly(providedServices);
}); });
} }
} }