Przeglądaj źródła

Fix town UI update on building new structures

Ivan Savenko 2 lat temu
rodzic
commit
4c6dbb5037
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      client/windows/CCastleInterface.cpp

+ 2 - 0
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()