Fix research cancellation not registering in UI.
If cancelling a research, then the next completed research in the same facility would linger after completion. Fixes ticket:3046.master
parent
c67e49c7ec
commit
03833edf3f
|
@ -967,6 +967,7 @@ bool recvResearchStatus(NETQUEUE queue)
|
|||
if (psBuilding)
|
||||
{
|
||||
cancelResearch(psBuilding, ModeImmediate);
|
||||
popStatusPending(*(RESEARCH_FACILITY *)psBuilding->pFunctionality); // Research cancellation is no longer pending, as it's actually cancelling now.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue