Skip to content

Commit

Permalink
Fix research cancellation not registering in UI.
Browse files Browse the repository at this point in the history
If cancelling a research, then the next completed research in the same facility would linger after completion.

Fixes ticket:3046.
  • Loading branch information
Cyp committed Jan 10, 2012
1 parent c67e49c commit 03833ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/multiplay.cpp
Expand Up @@ -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.
}
}

Expand Down

0 comments on commit 03833ed

Please sign in to comment.