From 8d0113dba99dc2dfdd02fbe4e38c91907be642f9 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 23 May 2023 21:25:57 +0300 Subject: [PATCH 3/3] Autoworkers: Stop considering old Clean actions Only consider generic "Clean" task, not "Clean Pollution" or "Clean Fallout" See osdn #48004 Signed-off-by: Marko Lindqvist --- server/advisors/autosettlers.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/advisors/autosettlers.c b/server/advisors/autosettlers.c index 2efcef7bf6..3938481ad9 100644 --- a/server/advisors/autosettlers.c +++ b/server/advisors/autosettlers.c @@ -119,10 +119,6 @@ void auto_settlers_ruleset_init(void) i = 0; action_array_add_all_by_result(as_actions_rmextra, &i, ACTRES_CLEAN); - action_array_add_all_by_result(as_actions_rmextra, &i, - ACTRES_CLEAN_POLLUTION); - action_array_add_all_by_result(as_actions_rmextra, &i, - ACTRES_CLEAN_FALLOUT); /* We could have ACTRES_PILLAGE here, but currently we don't */ action_array_end(as_actions_rmextra, i); } -- 2.39.2