From 56c2ca1b6ec09b15d1a4606a9877d045a4d5519a Mon Sep 17 00:00:00 2001 From: Eriks K Date: Tue, 12 Jan 2021 08:05:57 +0200 Subject: [PATCH] House renewal price check bugfix --- erepublik/citizen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erepublik/citizen.py b/erepublik/citizen.py index 078bab5..20243cb 100644 --- a/erepublik/citizen.py +++ b/erepublik/citizen.py @@ -1082,7 +1082,7 @@ class CitizenEconomy(CitizenTravel): local_cheapest = sorted(offers, key=lambda o: o.price)[0] global_cheapest = self.get_market_offers("House", q)[f"q{q}"] - if global_cheapest.price + 200 < local_cheapest.price: + if global_cheapest.price + 2000 < local_cheapest.price: if global_cheapest.price + 2000 < self.details.cc: if self.travel_to_country(global_cheapest.country): buy = self.buy_market_offer(global_cheapest, 1)