[1.1.59] highlight-box with curved-rail target has incorrect bounding box
Posted: Sun Jun 05, 2022 6:36 am
When creating a highlight box, setting it's target to a curved rail will give it an incorrectly sized bounding box.
Reproduce: Hover over a curved rail and use the command below.
/c game.surfaces[1].create_entity{name = "highlight-box", position = {x=0,y=0}, target = game.player.selected}
Reproduce: Hover over a curved rail and use the command below.
/c game.surfaces[1].create_entity{name = "highlight-box", position = {x=0,y=0}, target = game.player.selected}