diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-12-17 06:50:16 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-12-17 06:50:16 +0100 |
commit | 4db9139bfedf1af9a097b247c5814c5b1058e669 (patch) | |
tree | 07f507dbb7e21e6d7736a24b9d971806cdfc6f3e | |
parent | ec0b852a32a2b771e78404a5dd45353b2f0c57ad (diff) |
Forgot one element in the stack.
-rw-r--r-- | lib/LuaHandle.cc | 1 |
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 { |