forked from mtcontrib/arrow_signs
Using Screwdriver rotates the signs clockwise. Fix issue #2
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user