Fix actorActiveSpells pairs, docs

revert-6246b479
Tobias Tribble 2 years ago
parent f34b57656a
commit b535e41164

@ -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 };

@ -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.

Loading…
Cancel
Save