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:
parent
231803c6ea
commit
cbfcd21d98
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ namespace MWLua
|
|||
providedServices[name] = (services & flag) != 0;
|
||||
}
|
||||
providedServices["Travel"] = !rec.getTransport().empty();
|
||||
return providedServices;
|
||||
return LuaUtil::makeReadOnly(providedServices);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue