1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00

Fix actorActiveSpells pairs, docs

This commit is contained in:
Tobias Tribble 2023-06-25 08:50:09 -05:00
parent f34b57656a
commit b535e41164
2 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@ namespace MWLua
return sol::as_function([lua, &self]() mutable -> std::pair<sol::object, sol::object> {
if (!self.isEnd())
{
auto result = sol::make_object(lua, self.mIterator->getId());
auto result = sol::make_object(lua, self.mIterator->getId().serializeText());
auto index = sol::make_object(lua, self.mIndex + 1);
self.advance();
return { index, result };

View File

@ -206,7 +206,7 @@
-- @param self
-- @param #string effectId effect ID
-- @param #string extraParam Optional skill or attribute ID
-- @return #ActiveEffect if such an effect is active, nil otherwise
-- @return openmw.core#ActiveEffect if such an effect is active, nil otherwise
---
-- Completely removes the active effect from the actor.