From 3d52b03b21ded4608a9b903c0233ef2e1a537498 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Lach?= <slawek@lach.art.pl>
Date: Sat, 29 Oct 2022 18:00:58 +0200
Subject: [PATCH] =?UTF-8?q?!OSDN=20Ticket=20#45889:=20S=C5=82awomir=20Lach?=
 =?UTF-8?q?=20<slawek@lach.art.pl>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From now server should send city's counter for newly established
connection

diff --git a/server/srv_main.c b/server/srv_main.c
index b986f1f1dd..bb4fcd8207 100644
--- a/server/srv_main.c
+++ b/server/srv_main.c
@@ -701,8 +701,14 @@ void send_all_info(struct conn_list *dest)
   send_all_known_units(dest);
   send_spaceship_info(NULL, dest);
 
+  /* Sending counters related informaton
+   * Other city-releated information are
+   * also send */
   cities_iterate(pcity) {
     package_and_send_worker_tasks(pcity);
+    city_counters_iterate(pcount) {
+      city_counter_refresh(pcity, pcount->index);
+    } city_map_iterate_end;
   } cities_iterate_end;
 }
 
-- 
2.38.0

