From 9550565d6c78b11dc5e63f795433bcd6513146bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Lach?= Date: Tue, 24 Oct 2023 18:12:09 +0200 Subject: [PATCH] =?UTF-8?q?!OSDN:#45889:S=C5=82awomir=20Lach=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sending cities' counters values on connection. diff --git a/server/srv_main.c b/server/srv_main.c index 94a15e7280..28b242b25b 100644 --- a/server/srv_main.c +++ b/server/srv_main.c @@ -711,6 +711,10 @@ void send_all_info(struct conn_list *dest) cities_iterate(pcity) { package_and_send_worker_tasks(pcity); } cities_iterate_end; + + cities_iterate(pcity) { + city_counters_refresh(pcity); + } cities_iterate_end; } /**********************************************************************//** -- 2.43.0