From 4db9139bfedf1af9a097b247c5814c5b1058e669 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 17 Dec 2009 06:50:16 +0100 Subject: Forgot one element in the stack. --- lib/LuaHandle.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/LuaHandle.cc b/lib/LuaHandle.cc index 12b33fd..3172ec8 100644 --- a/lib/LuaHandle.cc +++ b/lib/LuaHandle.cc @@ -1028,6 +1028,7 @@ void HandleLua::GetObj() const { L->push("HANDLELUAREFS"); L->gettable(LUA_REGISTRYINDEX); L->rawgeti(ref); + L->remove(-2); } bool HandleLua::CanRead() const { -- cgit v1.2.3