mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-10 04:43:29 +07:00
Tests fixed
This commit is contained in:
parent
f0b041b20b
commit
9a2ec028af
@ -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"))
|
||||
|
@ -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 += ""
|
||||
|
Loading…
Reference in New Issue
Block a user