Project

General

Profile

Bug #661 ยป 0077-city_freeze_workers_queue-Set-needs_arrange-for-citi.patch

Marko Lindqvist, 05/22/2024 03:17 PM

View differences:

server/citytools.c
if (arrange_workers_queue == nullptr) {
arrange_workers_queue = city_list_new();
} else if (city_list_find_number(arrange_workers_queue, pcity->id)) {
/* City might have been arranged since it was originally put to the queue.
* Make sure needs_arrange is set again. */
if (pcity->server.needs_arrange == CNA_NOT) {
pcity->server.needs_arrange = CNA_NORMAL;
}
return;
}
    (1-1/1)