summaryrefslogtreecommitdiff
path: root/Runtime/Lua/LuaBind/LuaBindInvoker.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-11 18:27:36 +0800
committerchai <chaifix@163.com>2021-11-11 18:27:36 +0800
commit0e0aa82ab2ebc9f15519cea710a52c5895690152 (patch)
tree57e91039458549dadb4e904d537be26fe792b855 /Runtime/Lua/LuaBind/LuaBindInvoker.cpp
parent36f42b74630d4bca2d1d276d57c4c967d0290380 (diff)
* rename Editor.GUI to Editor.Window
Diffstat (limited to 'Runtime/Lua/LuaBind/LuaBindInvoker.cpp')
-rw-r--r--Runtime/Lua/LuaBind/LuaBindInvoker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Runtime/Lua/LuaBind/LuaBindInvoker.cpp b/Runtime/Lua/LuaBind/LuaBindInvoker.cpp
index d6780d7..90ab078 100644
--- a/Runtime/Lua/LuaBind/LuaBindInvoker.cpp
+++ b/Runtime/Lua/LuaBind/LuaBindInvoker.cpp
@@ -106,6 +106,8 @@ namespace LuaBind
lua_replace(state, -2);
lua_insert(state, -1 - argc);
state.Call(argc, nReturns);
+
+ argc = 0;
}
} \ No newline at end of file