diff --git a/mods/ctf/ctf_landmine/init.lua b/mods/ctf/ctf_landmine/init.lua index 6e6c865180..c0eb0d65a1 100644 --- a/mods/ctf/ctf_landmine/init.lua +++ b/mods/ctf/ctf_landmine/init.lua @@ -139,7 +139,11 @@ core.register_node("ctf_landmine:landmine", { if not is_self_landmine(puncher, pos) then landmine_explode(pos) end - end + end, + on_dig = function(pos, node, digger) + remove_landmine(pos) + minetest.node_dig(pos, node, digger) + end }) core.register_globalstep(function(dtime)