aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index 242e49e97..8537ba39a 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -2562,8 +2562,8 @@ void Game::handlePointingAtNode(const PointedThing &pointed,
}
}
- if (((wasKeyPressed(KeyType::PLACE) || g_settings->getBool("autoplace")) ||
- (runData.repeat_place_timer >= (g_settings->getBool("fastplace") ? 0 : m_repeat_place_time))) &&
+ if ((wasKeyPressed(KeyType::PLACE) ||
+ (runData.repeat_place_timer >= (g_settings->getBool("fastplace") ? 0.001 : m_repeat_place_time))) &&
client->checkPrivilege("interact")) {
runData.repeat_place_timer = 0;
infostream << "Place button pressed while looking at ground" << std::endl;