mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-12 13:37:08 +03: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[name] = (services & flag) != 0;
|
||||||
}
|
}
|
||||||
providedServices["Travel"] = !rec.getTransport().empty();
|
providedServices["Travel"] = !rec.getTransport().empty();
|
||||||
return providedServices;
|
return LuaUtil::makeReadOnly(providedServices);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue