Eluna Fix GetObjectType

This commit is contained in:
Rochet2
2014-07-03 18:30:45 +03:00
parent 5a40cc5dea
commit df480f976d

View File

@@ -893,7 +893,7 @@ public:
// special method to get the object type
lua_pushcfunction(L, typeT);
lua_setfield(L, metatable, "GetObjectType");
lua_setfield(L, methods, "GetObjectType");
// pop methods and metatable
lua_pop(L, 2);