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 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-05-29 18:26:18 +00:00
parent c0755ec243
commit f9cced2b39
+1 -1
View File
@@ -507,7 +507,7 @@ def _create_scoreboard_sync(match_details,
if is_draw: if is_draw:
fill = Draw_fill fill = Draw_fill
else: 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 gap = 30
if not flipped: if not flipped: