summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2017-09-19 17:12:00 +0200
committerVitaliy <silverunicorn2011@yandex.ru>2017-09-19 18:12:00 +0300
commit1963d8b3d5b646976d2a0d364c5b8df9928ccea3 (patch)
tree0eef44d41055ac272c663ac53d812742868e9be7
parent954262d0164692fa03fe48e9bd439c8e570726fb (diff)
downloadmesecons-1963d8b3d5b646976d2a0d364c5b8df9928ccea3.tar
mesecons-1963d8b3d5b646976d2a0d364c5b8df9928ccea3.tar.gz
mesecons-1963d8b3d5b646976d2a0d364c5b8df9928ccea3.tar.bz2
mesecons-1963d8b3d5b646976d2a0d364c5b8df9928ccea3.tar.xz
mesecons-1963d8b3d5b646976d2a0d364c5b8df9928ccea3.zip
Prevent wires from being rotated (#365)
-rw-r--r--mesecons_wires/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_wires/init.lua b/mesecons_wires/init.lua
index ced7c99..60a8d76 100644
--- a/mesecons_wires/init.lua
+++ b/mesecons_wires/init.lua
@@ -213,7 +213,8 @@ local function register_wires()
node_box = nodebox,
walkable = false,
drop = "mesecons:wire_00000000_off",
- mesecon_wire = true
+ mesecon_wire = true,
+ on_rotate = false,
}, {tiles = tiles_off, mesecons = meseconspec_off, groups = groups_off},
{tiles = tiles_on, mesecons = meseconspec_on, groups = groups_on})