Replaced a != sign by a == sign (#5753)

This commit is contained in:
Xander Lenstra 2021-12-05 11:58:32 +01:00 committed by GitHub
parent b6ce8b2aac
commit ba36956990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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