Skip to content
Permalink
Browse files

Add on_punchnode callback

  • Loading branch information
Wayward1 authored and Zeno- committed May 17, 2016
1 parent 1434014 commit 8b940c005fd13db4e611ec49bc44881048b42cf7
Showing with 5 additions and 0 deletions.
  1. +5 −0 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)

0 comments on commit 8b940c0

Please sign in to comment.