What
The custom map colour for a rail (straight or curved) is ignored.Expected behaviour
That the map colour of a rail will change if I set the map_colour in the prototypeReproduction steps
Place this in data.luaCode: Select all
local red = {1, 0, 0, 1}
data.raw["straight-rail"]["straight-rail"].map_color = red
data.raw["straight-rail"]["straight-rail"].friendly_map_color = red
data.raw["transport-belt"]["transport-belt"].map_color = red