Bot stop farm because is under attack
alex92251 opened this issue · comments
alex251 commented
Anyone know how to disable this? my village is under fake attacks and bot stop farming because of this, but no where is the option to disable this.
TrimPeachu commented
I just skimmed trough the code so I might be wrong, but I would try deleting condition and not self.def_man.under_attack
on line 440 of game/village.py
if (
self.get_config(section="farms", parameter="farm", default=False)
and not self.def_man.under_attack #Delete this
):