[0.15.23] on_research_finish no longer fires (save specific)
Posted: Mon Jun 26, 2017 1:03 am
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
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