mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix click-digging torches (#5652)
Torches are dug instantly again. When the digging time is 0, a delay of 0.15 seconds is added between digging nodes. If the left mouse button is released, the delay is set to 0, thus click-digging.
This commit is contained in:
@@ -98,7 +98,7 @@ DigParams getDigParams(const ItemGroupList &groups,
|
||||
return DigParams(true, 0.5, 0, "dig_immediate");
|
||||
case 3:
|
||||
//infostream<<"dig_immediate=3"<<std::endl;
|
||||
return DigParams(true, 0.15, 0, "dig_immediate");
|
||||
return DigParams(true, 0, 0, "dig_immediate");
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user