summaryrefslogtreecommitdiff
path: root/builtin/mainmenu/common.lua
diff options
context:
space:
mode:
authoryou <ovvv@web.de>2017-05-20 20:43:13 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-05-20 20:43:13 +0200
commit358074b2960b369dfd248bd31e08db93e114a4aa (patch)
tree2f09f3cc09e1131a9d658d19d14b4e6048f266a3 /builtin/mainmenu/common.lua
parenta2bb776ea81715a7b9eae4b2ea8aca032d42fb5e (diff)
downloadminetest-358074b2960b369dfd248bd31e08db93e114a4aa.tar.gz
minetest-358074b2960b369dfd248bd31e08db93e114a4aa.tar.bz2
minetest-358074b2960b369dfd248bd31e08db93e114a4aa.zip
Fix instant digging (#5785)
Use runData.dig_time_complete instead of params.time to find out whether it's instant digging. runData.dig_time_complete is set to something very big if the node can't be dug, whereas param.time is 0 when digging is impossible or it's instant digging. So not using param.time fixes #5728.
Diffstat (limited to 'builtin/mainmenu/common.lua')
0 files changed, 0 insertions, 0 deletions