mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-16 10:49:17 +07:00
Fixed bug which leads to crashes for almost all users (#4519)
This commit is contained in:
@ -56,7 +56,7 @@ class DiplomacyScreen(val viewingCiv:CivilizationInfo):CameraStageBaseScreen() {
|
|||||||
private fun updateLeftSideTable() {
|
private fun updateLeftSideTable() {
|
||||||
leftSideTable.clear()
|
leftSideTable.clear()
|
||||||
for (civ in viewingCiv.gameInfo.civilizations
|
for (civ in viewingCiv.gameInfo.civilizations
|
||||||
.filterNot { it.isDefeated() || it == viewingCiv || it.isBarbarian() || it.isSpectator() || viewingCiv.knows(it) }) {
|
.filterNot { it.isDefeated() || it == viewingCiv || it.isBarbarian() || it.isSpectator() || !viewingCiv.knows(it) }) {
|
||||||
|
|
||||||
val civIndicator = ImageGetter.getNationIndicator(civ.nation, 100f)
|
val civIndicator = ImageGetter.getNationIndicator(civ.nation, 100f)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user