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.
[0.15.18] Inf. research name not updated when set in EH
- TruePikachu
- 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
Does this apply to the icon (NaB) or the textual string that is displayed e.g. in the upper-right corner?
Re: [0.15.18] Inf. research name not updated when set in EH
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](https://forums.factorio.com/download/file.php?id=26050)
Re: [0.15.18] Inf. research name not updated when set in EH
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.