needed ressource display fixed
This commit is contained in:
parent
c01b43f635
commit
04ba21f10c
|
@ -643,9 +643,9 @@ string UnitType::getReqDesc() const{
|
||||||
resultTxt+="\n"+lang.get("MaxUnitCount")+" "+intToStr(getMaxUnitCount());
|
resultTxt+="\n"+lang.get("MaxUnitCount")+" "+intToStr(getMaxUnitCount());
|
||||||
}
|
}
|
||||||
if(resultTxt=="")
|
if(resultTxt=="")
|
||||||
return RequirableType::getReqDesc();
|
return ProducibleType::getReqDesc();
|
||||||
else
|
else
|
||||||
return RequirableType::getReqDesc()+"\nLimits: "+resultTxt;
|
return ProducibleType::getReqDesc()+"\nLimits: "+resultTxt;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string UnitType::toString() const {
|
std::string UnitType::toString() const {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user