aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/falling.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/falling.lua')
-rw-r--r--builtin/game/falling.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/builtin/game/falling.lua b/builtin/game/falling.lua
index 57bb98cfd..fa7ff24bc 100644
--- a/builtin/game/falling.lua
+++ b/builtin/game/falling.lua
@@ -258,3 +258,8 @@ function on_dignode(p, node)
nodeupdate(p)
end
core.register_on_dignode(on_dignode)
+
+function on_punchnode(p, node)
+ nodeupdate(p)
+end
+core.register_on_punchnode(on_punchnode)