Skip to content

Commit

Permalink
Change repeat_place_time min value to 0.15
Browse files Browse the repository at this point in the history
Previously it was 0.16. It is lowered to match the min value of the
repeat_dig_time setting which is 0.15.
  • Loading branch information
ryvnf committed Feb 25, 2024
1 parent 45c4a50 commit 3addca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builtin/settingtypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ always_fly_fast (Always fly fast) bool true
# the place button.
#
# Requires: keyboard_mouse
repeat_place_time (Place repetition interval) float 0.25 0.16 2
repeat_place_time (Place repetition interval) float 0.25 0.15 2.0

# The minimum time in seconds it takes between digging nodes when holding
# the dig button.
Expand Down
2 changes: 1 addition & 1 deletion src/client/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4430,7 +4430,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.16f, 2.0);
m_repeat_place_time = g_settings->getFloat("repeat_place_time", 0.15f, 2.0f);
m_repeat_dig_time = g_settings->getFloat("repeat_dig_time", 0.15f, 2.0f);

m_cache_enable_noclip = g_settings->getBool("noclip");
Expand Down

0 comments on commit 3addca7

Please sign in to comment.