diff --git a/core/src/com/unciv/ui/components/input/ActorAttachments.kt b/core/src/com/unciv/ui/components/input/ActorAttachments.kt index 261791f49f..bcfc1543d8 100644 --- a/core/src/com/unciv/ui/components/input/ActorAttachments.kt +++ b/core/src/com/unciv/ui/components/input/ActorAttachments.kt @@ -1,7 +1,6 @@ package com.unciv.ui.components.input import com.badlogic.gdx.scenes.scene2d.Actor -import com.badlogic.gdx.scenes.scene2d.Touchable import com.unciv.models.UncivSound internal class ActorAttachments private constructor(actor: Actor) { @@ -38,7 +37,6 @@ internal class ActorAttachments private constructor(actor: Actor) { fun activate(type: ActivationTypes): Boolean { if (!this::activationActions.isInitialized) return false - if (this.actor.touchable != Touchable.enabled) return false return activationActions.activate(type) } diff --git a/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt b/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt index d588e2bb00..d887111533 100644 --- a/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt +++ b/core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt @@ -600,7 +600,7 @@ class WorldScreen( if (originalGameInfo.gameParameters.isOnlineMultiplayer) { try { game.onlineMultiplayer.updateGame(gameInfoClone) - } catch (ex: Exception) { + }catch (ex: Exception) { when (ex) { is MultiplayerAuthException -> { launchOnGLThread {