From 24849dfcdcf6cbc81c24ec24e8723877e641b20f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Lach?= <slawek@lach.art.pl>
Date: Sun, 12 Mar 2023 17:56:41 +0100
Subject: [PATCH] =?UTF-8?q?!OSDN:=20TICKET:#45889:S=C5=82awomir=20Lach=20<?=
 =?UTF-8?q?slawek@lach.art.pl>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Client should always got data about city, when needed.

diff --git a/server/citytools.c b/server/citytools.c
index b7391a073d..c45e95e28c 100644
--- a/server/citytools.c
+++ b/server/citytools.c
@@ -2272,6 +2272,9 @@ void broadcast_city_info(struct city *pcity)
     FC_FREE(route_packet);
   } traderoute_packet_list_iterate_end;
   traderoute_packet_list_destroy(routes);
+
+  /* Sending counters */
+  city_counters_refresh(pcity);
 }
 
 /************************************************************************//**
@@ -2343,9 +2346,6 @@ void send_city_info(struct player *dest, struct city *pcity)
     send_city_info_at_tile(dest, dest->connections, pcity, pcity->tile);
   }
 
-  /* Sending counters */
-  city_counters_refresh(pcity);
-
   if (game.info.team_pooled_research
       && player_list_size(team_members(powner->team)) > 1) {
     /* We want to send the new total bulbs production of the team. */
@@ -2477,6 +2477,9 @@ void send_city_info_at_tile(struct player *pviewer, struct conn_list *dest,
     } traderoute_packet_list_iterate_end;
     traderoute_packet_list_destroy(routes);
   }
+
+  /* Sending counters */
+  city_counters_refresh(pcity);
 }
 
 /************************************************************************//**
-- 
2.39.2

