Fix: пересчёт очков в _apply_round_results после применения результатов сыгранного тура
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 4s

This commit is contained in:
vrubel 2026-06-15 16:53:57 +00:00
parent e0a897fd67
commit dd9d01e7e0

View file

@ -258,6 +258,9 @@ def _apply_round_results(tournament, games, rd):
s['results'] = list(s.get('results', []))
s['results'].append(res)
for s in standings:
s['points'] = sum(r.get('score', 0) for r in s.get('results', []))
tournament['current_round'] = rd