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:
parent
231803c6ea
commit
cbfcd21d98
@ -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…
x
Reference in New Issue
Block a user