HeatEnergySource::emissions_per_minute wrong "default"

User avatar
BrainGamer_
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Sun Nov 14, 2021 9:52 pm
Contact:

HeatEnergySource::emissions_per_minute wrong "default"

Post by BrainGamer_ »

HeatEnergySource::emissions_per_minute is overridden since heat energy sources don't support pollution. It mentions a default value of 0 but the type of emissions in 2.0 is dictionary[AirbornePollutantID -> double] and not just double anymore.

I think not specifying a default value and maybe extending the overridden description a bit would be more correct in this case.
User avatar
Therenas
Factorio Staff
Factorio Staff
Posts: 261
Joined: Tue Dec 11, 2018 2:10 pm
Contact:

Re: HeatEnergySource::emissions_per_minute wrong "default"

Post by Therenas »

Thanks, I removed the default value for the next release.
Post Reply

Return to “Resolved Requests”