[1.1.27] map_color = {0,0,0,0} is not fully transparent

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5202
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[1.1.27] map_color = {0,0,0,0} is not fully transparent

Post by eradicator »

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').
greenish.png
greenish.png (15.31 KiB) Viewed 2079 times
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.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 1785
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.27] map_color = {0,0,0,0} is not fully transparent

Post by boskid »

Thanks for the report. Issue is now fixed for 1.1.32.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5202
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [1.1.27] map_color = {0,0,0,0} is not fully transparent

Post by eradicator »

Thanks ;)

Post Reply

Return to “Resolved Problems and Bugs”