Small adjustment and a not was missing rules

This commit is contained in:
Steffen Illium
2023-10-25 17:01:58 +02:00
parent 9420986230
commit 85d65a2c78
3 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class Entities(Objects):
@property
def empty_positions(self):
empty_positions= [key for key in self.floorlist if self.pos_dict[key]]
empty_positions = [key for key in self.floorlist if not self.pos_dict[key]]
shuffle(empty_positions)
return empty_positions