From ba36956990a0c81748594d5526a4ee4b0ceb9df5 Mon Sep 17 00:00:00 2001 From: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Date: Sun, 5 Dec 2021 11:58:32 +0100 Subject: [PATCH] Replaced a != sign by a == sign (#5753) --- core/src/com/unciv/ui/worldscreen/WorldScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt index 5c39824f38..bbc4552f8f 100644 --- a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt +++ b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt @@ -335,7 +335,7 @@ class WorldScreen(val gameInfo: GameInfo, val viewingCiv:CivilizationInfo) : Bas val latestGame = OnlineMultiplayer().tryDownloadGame(gameInfo.gameId) // if we find the current player didn't change, don't update - if (gameInfo.currentPlayer != latestGame.currentPlayer) { + if (gameInfo.currentPlayer == latestGame.currentPlayer) { Gdx.app.postRunnable { loadingGamePopup.close() } shouldUpdate = true return