Ver Fonte

Fix town UI update on building new structures

Ivan Savenko há 2 anos atrás
pai
commit
4c6dbb5037
1 ficheiros alterados com 2 adições e 0 exclusões
  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()