added an empty default keyhandler just in case

This commit is contained in:
Zeno Rogue 2018-01-23 03:34:35 +01:00
parent 72a48e615e
commit b7117cfa6a
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ bool holdmouse;
int getcstat, lgetcstat; ld getcshift; bool inslider;
function <void(int sym, int uni)> keyhandler;
function <void(int sym, int uni)> keyhandler = [] (int sym, int uni) {};
// is the player using mouse? (used for auto-cross)
bool mousing = true;