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:
commit
6484e2e411
@ -45,7 +45,7 @@ namespace MWLua
|
||||
providedServices[name] = (services & flag) != 0;
|
||||
}
|
||||
providedServices["Travel"] = !rec.getTransport().empty();
|
||||
return providedServices;
|
||||
return LuaUtil::makeReadOnly(providedServices);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user