From 4c6dbb5037256c0622c639b259868d40f81d6a1a Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Fri, 31 Mar 2023 20:08:37 +0300 Subject: [PATCH] Fix town UI update on building new structures --- client/windows/CCastleInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/windows/CCastleInterface.cpp b/client/windows/CCastleInterface.cpp index 332bc5544..f11b7c6c9 100644 --- a/client/windows/CCastleInterface.cpp +++ b/client/windows/CCastleInterface.cpp @@ -1259,6 +1259,7 @@ void CCastleInterface::addBuilding(BuildingID bid) builds->addBuilding(bid); recreateIcons(); activate(); + redraw(); } void CCastleInterface::removeBuilding(BuildingID bid) @@ -1267,6 +1268,7 @@ void CCastleInterface::removeBuilding(BuildingID bid) builds->removeBuilding(bid); recreateIcons(); activate(); + redraw(); } void CCastleInterface::recreateIcons()