Tests fixed

This commit is contained in:
Yair Morgenstern 2020-08-07 13:25:51 +03:00
parent f0b041b20b
commit 9a2ec028af
2 changed files with 6 additions and 6 deletions

View File

@ -344,7 +344,7 @@ class UnitMovementAlgorithms(val unit:MapUnit) {
if (tile.isOcean && !unit.civInfo.tech.embarkedUnitsCanEnterOcean)
return false
}
if (tile.isOcean && unit.civInfo.tech.wayfinding) { // Apparently all Polynesian naval units can enter oceans
if (tile.isOcean && !unit.civInfo.tech.wayfinding) { // Apparently all Polynesian naval units can enter oceans
if (unit.cannotEnterOceanTiles) return false
if (unit.cannotEnterOceanTilesUntilAstronomy
&& !unit.civInfo.tech.isResearched("Astronomy"))

View File

@ -96,11 +96,11 @@ class Nation : INamed {
textList += ""
}
// if (uniqueName!="") {
// textList += uniqueName.tr() + ":"
// textList += " " + uniques.joinToString(", ").tr()
// textList += ""
// }
else {
if (uniqueName != "") textList += uniqueName.tr() + ":"
textList += " " + uniques.joinToString(", ").tr()
textList += ""
}
if (startBias.isNotEmpty()) {
textList += "Start bias:".tr() + startBias.joinToString(", ", " ") { it.tr() }
textList += ""