Lua/LuaClass: Fix arguments for methods
Former-commit-id: fc3ec0b3f47185edb74abe1eb54af8722844a6f5
This commit is contained in:
parent
3898421f2f
commit
14f4291c7c
|
|
@ -405,6 +405,7 @@ namespace Nz
|
||||||
if (it != info->instanceGetters.end())
|
if (it != info->instanceGetters.end())
|
||||||
instance = it->second(lua);
|
instance = it->second(lua);
|
||||||
}
|
}
|
||||||
|
lua.Pop(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
lua.Remove(1); //< Remove the instance from the Lua stack
|
lua.Remove(1); //< Remove the instance from the Lua stack
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue