mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix touchscreen crash due to missing rangeselect
This commit is contained in:
parent
8b26bab37d
commit
f04d4d0291
@ -87,7 +87,12 @@ void set_default_settings()
|
||||
settings->setDefault("keymap_cmd_local", ".");
|
||||
settings->setDefault("keymap_minimap", "KEY_KEY_V");
|
||||
settings->setDefault("keymap_console", "KEY_F10");
|
||||
#if HAVE_TOUCHSCREENGUI
|
||||
// See https://github.com/minetest/minetest/issues/12792
|
||||
settings->setDefault("keymap_rangeselect", "KEY_KEY_R");
|
||||
#else
|
||||
settings->setDefault("keymap_rangeselect", "");
|
||||
#endif
|
||||
settings->setDefault("keymap_freemove", "KEY_KEY_K");
|
||||
settings->setDefault("keymap_pitchmove", "KEY_KEY_P");
|
||||
settings->setDefault("keymap_fastmove", "KEY_KEY_J");
|
||||
|
Loading…
Reference in New Issue
Block a user