1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-23 11:41:33 +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> { return sol::as_function([lua, &self]() mutable -> std::pair<sol::object, sol::object> {
if (!self.isEnd()) 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); auto index = sol::make_object(lua, self.mIndex + 1);
self.advance(); self.advance();
return { index, result }; return { index, result };

View file

@ -206,7 +206,7 @@
-- @param self -- @param self
-- @param #string effectId effect ID -- @param #string effectId effect ID
-- @param #string extraParam Optional skill or attribute 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. -- Completely removes the active effect from the actor.