In my save, the on_research_finish event does not fire. I have a few mods, but it doesn't work even after disabling them all. Of note is the auto-research mod, which would normally trigger starting the next research, but no longer works with the event not being triggered.
To narrow the problem down and make sure the event really is not triggering, I have tried running the following:
/c script.on_event(defines.events.on_research_finished, function() game.print("finish") end)
In the save, the current research should finish in about 20 or 30 seconds, but no message will be printed. To make sure I'm not making a mistake somewhere, I've tried that command with a brand new game after also spawning in items to quickly test researching, and it will print the message there, so it seems very specific to my save state (and the auto-research mod does also work on a new game).
I first observed the problem after installing 0.15.22
[0.15.23] on_research_finish no longer fires (save specific)
-
- Manual Inserter
- Posts: 4
- Joined: Sat Apr 29, 2017 1:22 am
- Contact:
[0.15.23] on_research_finish no longer fires (save specific)
- Attachments
-
- factorio-current.log
- (14.58 KiB) Downloaded 144 times
-
- factorio-bug-2.zip
- mods + save
- (38.09 MiB) Downloaded 172 times
- TruePikachu
- Filter Inserter
- Posts: 978
- Joined: Sat Apr 09, 2016 8:39 pm
- Contact:
Re: [0.15.23] on_research_finish no longer fires (save specific)
Are you only testing with infinite researches, or does this apply to a research that does not require space science packs?
Re: [0.15.23] on_research_finish no longer fires (save specific)
Thanks for the report. This is now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.