summaryrefslogtreecommitdiff
path: root/src/cat/LuaButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LuaButton.cpp')
-rw-r--r--src/cat/LuaButton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/LuaButton.cpp b/src/cat/LuaButton.cpp
index 8a3c92d..9ba5bd1 100644
--- a/src/cat/LuaButton.cpp
+++ b/src/cat/LuaButton.cpp
@@ -119,7 +119,7 @@ void LuaButton::triggerAction()
std::cout << actionFunction << std::endl;
lua_rawgeti(l, LUA_REGISTRYINDEX, actionFunction);
lua_pushinteger(l, 1);
- if (lua_pcall(l, 1, 1, 0))
+ if (lua_pcall(l, 1, 0, 0))
{
//Log error somewhere
}