Fix bug in housing check
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user