We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f76b9d7 commit 90f0859Copy full SHA for 90f0859
src/game.cpp
@@ -193,6 +193,14 @@ struct LocalFormspecHandler : public TextDest
193
}
194
195
196
+ // don't show error message for unhandled cursor keys
197
+ if ( (fields.find("key_up") != fields.end()) ||
198
+ (fields.find("key_down") != fields.end()) ||
199
+ (fields.find("key_left") != fields.end()) ||
200
+ (fields.find("key_right") != fields.end())) {
201
+ return;
202
+ }
203
+
204
errorstream << "LocalFormspecHandler::gotText unhandled >" << m_formname << "< event" << std::endl;
205
int i = 0;
206
for (std::map<std::string,std::string>::iterator iter = fields.begin();
0 commit comments