Bug #661 ยป 0077-city_freeze_workers_queue-Set-needs_arrange-for-citi.patch
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;
|
||
}
|
||