Fix: Unit Range in Civilopedia Nation Unique Units (#2286)

unit range when shown as difference to base unit for a unique unit is placed twice.
I haven't checked the impact on translations or playtested.
This commit is contained in:
proteus-anguinus
2020-03-30 08:17:37 +02:00
committed by GitHub
parent 0290051aa0
commit 4064f2c2cf

View File

@ -133,7 +133,7 @@ class Nation : INamed {
if (unit.rangedStrength != originalUnit.rangedStrength)
textList += " {Ranged strength} " + "[${unit.rangedStrength}] vs [${originalUnit.rangedStrength}]".tr()
if (unit.range != originalUnit.range)
textList += " {Range} " + unit.range + "[${unit.range}] vs [${originalUnit.range}]".tr()
textList += " {Range} " + "[${unit.range}] vs [${originalUnit.range}]".tr()
if (unit.movement != originalUnit.movement)
textList += " {Movement} " + "[${unit.movement}] vs [${originalUnit.movement}]".tr()
if (originalUnit.requiredResource != null && unit.requiredResource == null)