prevent invalid rotations and add on_rotate callbacks

This commit is contained in:
tour
2025-11-12 02:07:45 +01:00
committed by SmallJoker
parent 46d1f500bf
commit 3c3fc6749a
6 changed files with 12 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ mesecon.register_node("moremesecons_induction_transmitter:induction_transmitter"
{-0.25, -0.25, -0.5, 0.25, 0.25, -0.1875},
},
},
on_rotate = mesecon.on_rotate,
}, {
tiles = {"default_mese_block.png"},
groups = {cracky = 3},