Merged in Jat15/arrow_signs-1/Jat15/generate-bug-with-homedecor-sign-1388789572181 (pull request #2)

Generate bug with homedecor sign
This commit is contained in:
adrido 2014-01-04 17:59:59 +01:00
commit 0af83277f9
1 changed files with 5 additions and 1 deletions

View File

@ -54,7 +54,11 @@ end
-- usage
local node = clone_registered("node","default:sign_wall")
node.groups = {choppy=2,dig_immediate=2,attached_node=1,sign=1}
if node.legacy_wallmounted then
node.groups = {choppy=2,dig_immediate=2,attached_node=1,sign=1}
else
node.groups = {choppy=2,dig_immediate=2,sign=1}
end
minetest.register_node(":default:sign_wall", node)