diff options
| -rw-r--r-- | src/client/callbackhandeler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/callbackhandeler.cpp b/src/client/callbackhandeler.cpp index 7584256..e398e80 100644 --- a/src/client/callbackhandeler.cpp +++ b/src/client/callbackhandeler.cpp @@ -107,7 +107,7 @@ bool GlobalEventReceiver::OnEvent(const SEvent& e){ return false; } lua_rawgeti(L,LUA_REGISTRYINDEX,ref);//{guielement},func(),{guielement} - lua_call(L,1,0);//{guielement} + lua_call(L,1,1);//{guielement} int n = lua_gettop(L); printf("Found %d arguments on top\n",n); if(n > 1){ |
