mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
Replaced a != sign by a == sign (#5753)
This commit is contained in:
parent
b6ce8b2aac
commit
ba36956990
@ -335,7 +335,7 @@ class WorldScreen(val gameInfo: GameInfo, val viewingCiv:CivilizationInfo) : Bas
|
|||||||
val latestGame = OnlineMultiplayer().tryDownloadGame(gameInfo.gameId)
|
val latestGame = OnlineMultiplayer().tryDownloadGame(gameInfo.gameId)
|
||||||
|
|
||||||
// if we find the current player didn't change, don't update
|
// 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() }
|
Gdx.app.postRunnable { loadingGamePopup.close() }
|
||||||
shouldUpdate = true
|
shouldUpdate = true
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user