From df480f976d6aa183cd277c43024b31eaa551c4a8 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Thu, 3 Jul 2014 18:30:45 +0300 Subject: [PATCH] Eluna Fix GetObjectType --- LuaEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LuaEngine.h b/LuaEngine.h index 5185243..c4aae66 100644 --- a/LuaEngine.h +++ b/LuaEngine.h @@ -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);