diff --git a/src/structure.cpp b/src/structure.cpp index 24f78f87f87..4cb288edee7 100644 --- a/src/structure.cpp +++ b/src/structure.cpp @@ -1107,7 +1107,7 @@ static void refundFactoryBuildPower(STRUCTURE *psBuilding) addPower(psBuilding->player, calcTemplatePower(psFactory->psSubjectObsolete.get())); } } - if (psFactory->psSubject) + else if (psFactory->psSubject) { if (psFactory->buildPointsRemaining < (int)calcTemplateBuild(psFactory->psSubject)) {