Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: loadSaveResearch should not restore "pending" bits
These are only used for the UI in modes that use the netqueues (i.e. skirmish, etc), and only set while waiting for the netqueue to process a research action. However, savegames do not contain the netqueues, so if a save occurs between the time that the user takes a UI action (which sets the state to pending) and when the tick is processed, it could lead to research topics disappearing on saveload (since pending state is restored, but not the changes queued for the unprocessed game tick).
- Loading branch information