From d68f2fde9d7df260bc253491b2588aa8af36fffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Lach?= Date: Sun, 12 Mar 2023 17:37:13 +0100 Subject: [PATCH] - Repair bug in packhand.c causing counter data was a rubbish diff --git a/client/packhand.c b/client/packhand.c index f4e02fa130..4a900ff15f 100644 --- a/client/packhand.c +++ b/client/packhand.c @@ -5548,7 +5548,9 @@ void handle_ruleset_counter(const struct packet_ruleset_counter *packet) curr->target = packet->type; curr->def = packet->def; - if (curr->type != CB_CITY_OWNED_TURNS + if ((curr->type != CB_CITY_OWNED_TURNS + && curr->type != CB_CITY_CELEBRATION_TURNS + && curr->type != CB_CITY_DISORDER_TURNS) || curr->target != CTGT_CITY) { return; -- 2.39.2