Merge pull request #40 from R3R3R3/master

Override on_punch for poster node definition
This commit is contained in:
Pierre-Yves Rollo 2020-02-17 20:06:31 +01:00 committed by GitHub
commit b12d1f6b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@ local models = {
on_construct = display_api.on_construct,
on_rightclick = display_poster,
on_receive_fields = on_receive_fields_poster,
on_punch = function(pos, node, player, pointed_thing)
display_api.update_entities(pos)
end,
},
},
label_small = {