mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Merge branch 'lua-fix-active-spells-pairs-iterator-return' into 'master'
Lua: Fix return value for `Actor.ActiveSpells` iterator See merge request OpenMW/openmw!3808
This commit is contained in:
commit
d1e79028e9
@ -730,7 +730,7 @@ namespace MWLua
|
||||
auto id = sol::make_object(lua, self.mIterator->getId().serializeText());
|
||||
auto params = sol::make_object(lua, ActiveSpell{ self.mActor, *self.mIterator });
|
||||
self.advance();
|
||||
return { params, params };
|
||||
return { id, params };
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user