mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 22:16:41 +00:00
Return active spell id from pairs
This commit is contained in:
parent
cdf2459ed8
commit
3b0d654a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -730,7 +730,7 @@ namespace MWLua
|
||||||
auto id = sol::make_object(lua, self.mIterator->getId().serializeText());
|
auto id = sol::make_object(lua, self.mIterator->getId().serializeText());
|
||||||
auto params = sol::make_object(lua, ActiveSpell{ self.mActor, *self.mIterator });
|
auto params = sol::make_object(lua, ActiveSpell{ self.mActor, *self.mIterator });
|
||||||
self.advance();
|
self.advance();
|
||||||
return { params, params };
|
return { id, params };
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue