aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2023-01-23 00:20:12 +0100
committerGitHub <noreply@github.com>2023-01-23 00:20:12 +0100
commit84787962269bb170b3e9f76d2706cbfd2232586a (patch)
tree2ee7943d4c704a30c9ce239a052030fd879b4df0
parent87d509e4625df2d76a80f14cab3d420bd58ba20a (diff)
downloadminetest-84787962269bb170b3e9f76d2706cbfd2232586a.tar.xz
Decrease minimum for repeat_place_time (#13165)
-rw-r--r--builtin/settingtypes.txt4
-rw-r--r--src/client/game.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 25f75fbbe..bc61962f5 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -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
diff --git a/src/client/game.cpp b/src/client/game.cpp
index 76612879c..122e25d8c 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -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");