1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-03 21:43:07 +00:00

Remove spell change

This commit is contained in:
Tobias Tribble 2023-06-25 09:55:01 -05:00
parent b535e41164
commit a4f0cd4b90

View file

@ -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().serializeText());
auto result = sol::make_object(lua, self.mIterator->getId());
auto index = sol::make_object(lua, self.mIndex + 1);
self.advance();
return { index, result };