diff options
Diffstat (limited to 'lib')
-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 { |