Using Screwdriver rotates the signs clockwise. Fix issue #2

This commit is contained in:
addi
2016-09-07 16:47:21 +02:00
parent 4a3efd37e4
commit 7d93f60b74
4 changed files with 53 additions and 7 deletions

View File

@ -1,7 +1,7 @@
--[[
Steel Arrow Sign
Steel Arrow Sign
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
]]
@ -20,6 +20,7 @@ minetest.register_node("arrow_signs:steel", {
groups = {cracky = 2},
sounds = default.node_sound_defaults(),
on_place = arrow_signs.on_place,
on_rotate = arrow_signs.on_rotate,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", arrow_signs.formspec)