What?
Setting the map_color, friendly_map_color or enemy_map_color to {0,0,0,0} does not make an entity invisible on the map. Instead it creates a semi-transparent green overlay. Friendly and neutral buildings are invisible with map_color = nil, but I need enemy entities to be invisible too. (Tested with 'simple-entity-with-owner').
[1.1.27] map_color = {0,0,0,0} is not fully transparent
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
[1.1.27] map_color = {0,0,0,0} is not fully transparent
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [1.1.27] map_color = {0,0,0,0} is not fully transparent
Thanks for the report. Issue is now fixed for 1.1.32.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact: