[Genhis] [2.0.15] The TechnologyPrototype flag essential is always false

This subforum contains all the issues which we already resolved.
Villfuk02
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Mon Apr 30, 2018 7:23 am
Contact:

[Genhis] [2.0.15] The TechnologyPrototype flag essential is always false

Post by Villfuk02 »

In control.lua force.technologies[tech].prototype.essential always returns false.
For example when I do /c print(game.player.force.technologies["logistic-science-pack"].prototype.essential), it prints false.

However, in the in-game prototype explorer, it shows true for the correct technologies.
Genhis
Factorio Staff
Factorio Staff
Posts: 682
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [2.0.15] The TechnologyPrototype flag essential is always false

Post by Genhis »

Thanks for the report. It was a copy-paste mistake; fixed for the next release.
Post Reply

Return to “Resolved Problems and Bugs”