fix error logging in lua key events

This commit is contained in:
jacob1
2014-03-03 13:46:46 -05:00
parent 43bff37279
commit 4158581b21

View File

@@ -523,8 +523,8 @@ int luacon_keyevent(int key, int modifier, int event)
c--; c--;
i--; i--;
} }
lua_pop(l, 1);
luacon_ci->Log(CommandInterface::LogError, luacon_geterror()); luacon_ci->Log(CommandInterface::LogError, luacon_geterror());
lua_pop(l, 1);
} }
else else
{ {