From 03833edf3fc5c5f726f507d5352635fba9c7e475 Mon Sep 17 00:00:00 2001 From: Cyp Date: Tue, 10 Jan 2012 14:04:59 +0100 Subject: [PATCH] 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. --- src/multiplay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/multiplay.cpp b/src/multiplay.cpp index c4726cfca..5afd63e43 100644 --- a/src/multiplay.cpp +++ b/src/multiplay.cpp @@ -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. } }