wrong number rounding
Brought to you by:
qark
Tech viewer shows incorrect values. For example factory improvement 5 produces 12cp, tech viewer shows 13cp.
bug is in TechViewer.py, DisplayTech, lines around 635
probably replacing this (for me it works):
if convertor != str:
value = Rules.techImprEff[self.improvement] * value
else:
value = int(round(Rules.techImprEff[self.improvement] * value))
with this:
value = int(Rules.techImprEff[self.improvement] * value)
will do the work, but i dont know python, nor your code.