mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-18 19:59:47 +07:00
Resolved #8431 - Do not load updated multiplayer if the user has already gone somewhere else
This commit is contained in:
@ -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...")
|
||||
|
Reference in New Issue
Block a user