1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00

Merge branch 'serices_are_readonly' into 'master'

Make actor.providedServices read only

See merge request OpenMW/openmw!3570
This commit is contained in:
uramer 2023-11-16 15:23:09 +00:00
commit 6484e2e411

View File

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