summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-17 06:50:16 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-17 06:50:16 +0100
commit4db9139bfedf1af9a097b247c5814c5b1058e669 (patch)
tree07f507dbb7e21e6d7736a24b9d971806cdfc6f3e /lib
parentec0b852a32a2b771e78404a5dd45353b2f0c57ad (diff)
Forgot one element in the stack.
Diffstat (limited to 'lib')
-rw-r--r--lib/LuaHandle.cc1
1 files changed, 1 insertions, 0 deletions
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 {