Fix popup menu costs not updating for 2nd round.

This commit is contained in:
pierow 2021-02-12 07:09:12 -05:00
parent 7b6821929d
commit b298eb9553

View file

@ -10074,9 +10074,11 @@ void AvHPlayer::UpdateTechNodes()
}
if (UpdatedCosts && !theGameStarted)
{
theTechNodes.processBalanceChange();
UpdatedCosts = false;
if (theGameStarted && !UpdatedCosts)
}
else if (theGameStarted && !UpdatedCosts)
{
theTechNodes.processBalanceChange();
UpdatedCosts = true;