diff --git a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt index 67156cff7c..69af7216e2 100644 --- a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt +++ b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt @@ -337,6 +337,8 @@ class WorldScreen( } private suspend fun loadLatestMultiplayerState(): Unit = coroutineScope { + if (game.screen != this@WorldScreen) return@coroutineScope // User already went somewhere else + val loadingGamePopup = Popup(this@WorldScreen) launchOnGLThread { loadingGamePopup.addGoodSizedLabel("Loading latest game state...")