From 341c290ce4ff518d194fb845642c3897aa80e89d Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 10 May 2023 10:34:44 +0300 Subject: [PATCH] Resolved #9357 - update UI after founding city when breaking promise --- .../com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt b/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt index f66bfc66a8..37488dd433 100644 --- a/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt +++ b/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt @@ -201,6 +201,7 @@ object UnitActions { if (hasActionModifiers) activateSideEffects(unit, unique) else unit.destroy() + GUI.setUpdateWorldOnNextRender() // Set manually, since this could be triggered from the ConfirmPopup and not from the UnitActionsTable } if (unit.civ.playerType == PlayerType.AI)