mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-03 17:54:06 +00:00
Return active spell id from pairs
This commit is contained in:
parent
cdf2459ed8
commit
3b0d654a3f
@ -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