mirror of
https://github.com/minetest/minetest.git
synced 2024-08-19 04:54:18 +02:00
Only set quicktune keybinds in debug builds (#12779)
This commit is contained in:
parent
1e96403954
commit
be5c675263
@ -146,11 +146,18 @@ void set_default_settings()
|
||||
settings->setDefault("keymap_slot31", "");
|
||||
settings->setDefault("keymap_slot32", "");
|
||||
|
||||
// Some (temporary) keys for debugging
|
||||
#ifndef NDEBUG
|
||||
// Default keybinds for quicktune in debug builds
|
||||
settings->setDefault("keymap_quicktune_prev", "KEY_HOME");
|
||||
settings->setDefault("keymap_quicktune_next", "KEY_END");
|
||||
settings->setDefault("keymap_quicktune_dec", "KEY_NEXT");
|
||||
settings->setDefault("keymap_quicktune_inc", "KEY_PRIOR");
|
||||
#else
|
||||
settings->setDefault("keymap_quicktune_prev", "");
|
||||
settings->setDefault("keymap_quicktune_next", "");
|
||||
settings->setDefault("keymap_quicktune_dec", "");
|
||||
settings->setDefault("keymap_quicktune_inc", "");
|
||||
#endif
|
||||
|
||||
// Visuals
|
||||
#ifdef NDEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user