Fix bug in housing check

This commit is contained in:
Nate Bowman
2026-11-06 19:18:55 -05:00
parent 54050235f0
commit 09d05e950b

View File

@@ -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