This commit is contained in:
Maximilian Keßler 2023-11-23 12:56:02 +01:00
parent 56524cd28e
commit 07aba5fefb
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -235,6 +235,7 @@ def detailed_fetch_game(game_id: int):
"(%s, %s, %s, %s, %s, %s) " "(%s, %s, %s, %s, %s, %s) "
"ON CONFLICT (id) DO NOTHING", "ON CONFLICT (id) DO NOTHING",
(game_id, num_players, var_id, seed, game.score, len(actions))) (game_id, num_players, var_id, seed, game.score, len(actions)))
# TODO Max: Check if len(actions) is the correct number here, in case there was a VTK action, we might want to subtract one
game_participants_vals = [] game_participants_vals = []
for seat, user_id in enumerate(user_ids): for seat, user_id in enumerate(user_ids):