Lua/LuaClass: Fix arguments for methods

Former-commit-id: fc3ec0b3f47185edb74abe1eb54af8722844a6f5
This commit is contained in:
Lynix 2016-01-21 13:05:43 +01:00
parent 3898421f2f
commit 14f4291c7c
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,7 @@ namespace Nz
if (it != info->instanceGetters.end())
instance = it->second(lua);
}
lua.Pop(2);
}
lua.Remove(1); //< Remove the instance from the Lua stack