Disconnecting right after earning science does not save your recently acquired science
Xinayder opened this issue ยท 7 comments
This should be easy to fix. Check if the user earned some science, if he did, send an update message to the server.
@RockyTV I saw the default send time also but I think it should stay 30 because otherwise
string scenarioHash = Common.CalculateSHA256Hash(scenarioBytes);
gets run more often. I figured it might cause more lag or work on cpu (though I have no idea how taxing it actually is).
@sentrythethird All you need to do is commit those changes into a new branch and make a pull request.
Testing this, seems to be completely random how often progress is saved. Completed 4 research gains on one flight. Reconnected. Lost all progress.
Repeated, same gains, unlocked tech, reconnected. Lost all progress.
Repeated, launched another vessel, recovered. reconnect, lost all progress.
Repeated. Waited a little while, reconnected, saved.