[0.15.18] Inf. research name not updated when set in EH

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
zx64
Long Handed Inserter
Long Handed Inserter
Posts: 58
Joined: Fri Dec 16, 2016 3:57 pm
Contact:

[0.15.18] Inf. research name not updated when set in EH

Post by zx64 »

Summary:

When setting a force's current_research inside on_research_completed to the same infinite research (e.g. "mining-productivity-16"), the displayed current research name is not updated.
The bonus is however successfully applied and the correct level does appear in the tech tree dialog.

Repro Scenario has some extra stuff to make the repro happen faster but the research is completed "normally".

What happens: Mining Prod 17 is completed and moves onto the next level of mining productivity, however the game still shows you as researching Mining Prod 17 when it's actually researching Mining Prod 18.
If you leave it to fully complete MP18, you'll see it again display it researching MP17 but a check of e.g. the bonuses window or the tech window will show the true state.

This is not affected by the "Tech window opens when research is completed" option.

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.15.18] Inf. research name not updated when set in EH

Post by TruePikachu »

Does this apply to the icon (NaB) or the textual string that is displayed e.g. in the upper-right corner?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.15.18] Inf. research name not updated when set in EH

Post by daniel34 »

Related: using /c game.player.force.current_research.researched = true will research the current level, but not update the top right display. Repeating it 5 times will still show level x on the top right although in the technology screen it's already x+5.

Image
quick links: log file | graphical issues | wiki

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

Re: [0.15.18] Inf. research name not updated when set in EH

Post by Rseding91 »

Thanks for the command to reproduce the problem. It's now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”