diff --git a/aoe/housing.py b/aoe/housing.py index 0ece7da..1309971 100644 --- a/aoe/housing.py +++ b/aoe/housing.py @@ -13,7 +13,7 @@ class Housing(): if required > 0: pop_space = world.get_population_space() - if world.get_effective_population() > pop_space + required: + if world.get_effective_population() + required > pop_space: raise YallGotHousedException