diff --git a/app/models/game.py b/app/models/game.py index befdb15..d7ff218 100644 --- a/app/models/game.py +++ b/app/models/game.py @@ -37,7 +37,9 @@ class Game(db.Model): for player in players: if isinstance(player, GamePlayer): player = player.user - locations.append(player.last_location(self)) + location = player.last_location(self) + if location: + locations.append(location) return locations def bunnies(self):