]> git.lizzy.rs Git - minetest.git/commitdiff
Decrease minimum for repeat_place_time (#13165)
authorDS <vorunbekannt75@web.de>
Sun, 22 Jan 2023 23:20:12 +0000 (00:20 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Jan 2023 23:20:12 +0000 (00:20 +0100)
builtin/settingtypes.txt
src/client/game.cpp

index 25f75fbbea79f7fd7dd830de218735d11aff35b2..bc61962f59b4d014f12cc36922e45755a631d94b 100644 (file)
@@ -95,7 +95,7 @@ always_fly_fast (Always fly fast) bool true
 
 #    The time in seconds it takes between repeated node placements when holding
 #    the place button.
-repeat_place_time (Place repetition interval) float 0.25 0.25 2
+repeat_place_time (Place repetition interval) float 0.25 0.16 2
 
 #    Automatically jump up single-node obstacles.
 autojump (Automatic jumping) bool false
@@ -469,7 +469,7 @@ enable_auto_exposure (Enable Automatic Exposure) bool false
 enable_bloom (Enable Bloom) bool false
 
 #    Set to true to render debugging breakdown of the bloom effect.
-#    In debug mode, the screen is split into 4 quadrants: 
+#    In debug mode, the screen is split into 4 quadrants:
 #    top-left - processed base image, top-right - final image
 #    bottom-left - raw base image, bottom-right - bloom texture.
 enable_bloom_debug (Enable Bloom Debug) bool false
index 76612879c00b458d548d2b117a1db355251e5b13..122e25d8c2042ca121ee6bdbc0ab6e522e2863d9 100644 (file)
@@ -4291,7 +4291,7 @@ void Game::readSettings()
        m_cache_enable_fog                   = g_settings->getBool("enable_fog");
        m_cache_mouse_sensitivity            = g_settings->getFloat("mouse_sensitivity", 0.001f, 10.0f);
        m_cache_joystick_frustum_sensitivity = std::max(g_settings->getFloat("joystick_frustum_sensitivity"), 0.001f);
-       m_repeat_place_time                  = g_settings->getFloat("repeat_place_time", 0.25f, 2.0);
+       m_repeat_place_time                  = g_settings->getFloat("repeat_place_time", 0.16f, 2.0);
 
        m_cache_enable_noclip                = g_settings->getBool("noclip");
        m_cache_enable_free_move             = g_settings->getBool("free_move");