aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/controller.py b/controller.py
index c153001..1116443 100644
--- a/controller.py
+++ b/controller.py
@@ -63,7 +63,11 @@ class RoundGenerator:
active_players = self.players.get_potential_players()
identifiers = [*active_players]
play_count = [
- self.history[player_id] if player_id < self.players.guest_id_start else 10
+ (
+ self.history[player_id]
+ if player_id < self.players.guest_id_start
+ else self.round
+ )
for player_id in active_players
]
ids = sample_list(identifiers, play_count, count)