From f9cced2b39950141cd16111eb142f6785c8376b6 Mon Sep 17 00:00:00 2001 From: deploy Date: Fri, 29 May 2026 18:26:18 +0000 Subject: [PATCH] fix: use squadron_short for win/loss comparison in scoreboard squadron_raw from old saved replays still has raw tags (-DSPLA-) but winning_team is now stripped (DSPLA) by _strip_tag in process_session. squadron_short is set by per-team DB resolution so it matches for both old and new replays. Co-Authored-By: Claude Sonnet 4.6 --- BOT/scoreboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BOT/scoreboard.py b/BOT/scoreboard.py index f736e36..c6ffe81 100644 --- a/BOT/scoreboard.py +++ b/BOT/scoreboard.py @@ -507,7 +507,7 @@ def _create_scoreboard_sync(match_details, if is_draw: fill = Draw_fill else: - fill = Positive_Points_fill if squadron_raw == winning_team else Negative_Points_fill + fill = Positive_Points_fill if squadron_short == winning_team else Negative_Points_fill gap = 30 if not flipped: