Solution for satisfy all mods for sign_wall

This commit is contained in:
Jat15 2014-01-03 23:54:25 +00:00
parent d9da4eb3f3
commit fbf8066865
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,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)