Prevent wires from being rotated (#365)

This commit is contained in:
DS 2017-09-19 17:12:00 +02:00 committed by Vitaliy
parent 954262d016
commit 1963d8b3d5

View File

@ -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})