[0.16.51] Can't change map color of rails (not a bug, TY :)

Bugs that are actually features.
Post Reply
User avatar
Taehl
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Sun Jan 18, 2015 2:23 am

[0.16.51] Can't change map color of rails (not a bug, TY :)

Post by Taehl » Sun Aug 12, 2018 9:30 pm

While working on my mod, it came to my attention that straight_rail and curved_rail both seem to ignore map_color AND friendly_map_color! Am I missing something, or have I found a bug?
Last edited by Taehl on Mon Aug 13, 2018 9:27 am, edited 1 time in total.

Rseding91
Factorio Staff
Factorio Staff
Posts: 7870
Joined: Wed Jun 11, 2014 5:23 am

Re: [0.16.51] Can't change the map color of rails

Post by Rseding91 » Mon Aug 13, 2018 1:16 am

Rails use the utility-constant rail chart color: data.raw["utility-constants].chart.rail_color.
If you want to get ahold of me I'm almost always on IRC and Discord.

Post Reply

Return to “Not a bug”