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 @@
--[[
Shared Locked Arrow sign
Shared Locked 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.
]]
minetest.register_node("arrow_signs:shared_locked", {
@ -24,7 +24,7 @@ minetest.register_node("arrow_signs:shared_locked", {
locks:lock_set_owner( pointed_thing.above, placer, "Shared locked sign");
return itemstack
end,
on_rotate = arrow_signs.on_rotate,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
-- prepare the lock of the sign