Commit 3140ecc0 authored by nonsinn's avatar nonsinn

Fixed #1017 gold raf will now show gold on idle mode

parent 9ce29df5
......@@ -280,7 +280,6 @@ string cBuilding::getStatusStr (const cPlayer* whoWantsToKnow, const cUnitsData&
sText += iToStr (getOwner()->getCredits());
return sText;
}
return lngPack.i18n ("Text~Comp~Working");
}
......@@ -293,6 +292,15 @@ string cBuilding::getStatusStr (const cPlayer* whoWantsToKnow, const cUnitsData&
else if (isManualFireActive())
return lngPack.i18n ("Text~Comp~ReactionFireOff");
if (staticData->convertsGold && getOwner() == whoWantsToKnow && !isUnitWorking())
{
string sText;
sText = lngPack.i18n("Text~Comp~Waits") + "\n";
sText += lngPack.i18n("Text~Title~Credits") + lngPack.i18n("Text~Punctuation~Colon");
sText += iToStr(getOwner()->getCredits());
return sText;
}
return lngPack.i18n ("Text~Comp~Waits");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment