From 1db5a2f9507e19604de3ea335537cef3c0da388e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20=C3=85str=C3=B6m?= Date: Fri, 4 Apr 2025 18:46:27 +0200 Subject: [PATCH] Add delay between punching and digging node (#15931) --- src/client/game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/game.cpp b/src/client/game.cpp index 5fdb35e7e..79889e775 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3633,6 +3633,7 @@ void Game::handlePointingAtObject(const PointedThing &pointed, const ItemStack & if (do_punch) { infostream << "Punched object" << std::endl; runData.punching = true; + runData.nodig_delay_timer = std::max(0.15f, m_repeat_dig_time); } if (do_punch_damage) {