Never add completed researches to research menu.
Researches would fail to disappear from the research menu when the research was complete, if clicking on the research facility just before the research was complete, since this resulted in setting the research to pending, and the research would still be pending even after being complete (more likely with high latency, due to a larger window to reproduce in). Fixes ticket:3454.
|@@ -5436,7 +5436,7 @@ static BASE_STATS *getResearchStats(BASE_OBJECT *psObj)|
|psBuilding = (STRUCTURE *)psObj;|
|psResearchFacility = &psBuilding->pFunctionality->researchFacility;|
|- if (psResearchFacility->psSubjectPending != NULL)|
|+ if (psResearchFacility->psSubjectPending != NULL && !IsResearchCompleted(&asPlayerResList[psObj->player][psResearchFacility->psSubjectPending->index]))|