Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add on_punchnode callback
  • Loading branch information
Wayward1 authored and Zeno- committed May 17, 2016
1 parent 1434014 commit 8b940c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builtin/game/falling.lua
Expand Up @@ -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.