fix: auto-initialize RefractorCardState in evaluate-game #178

Merged
cal merged 1 commits from fix/refractor-auto-init-missing-states into main 2026-03-31 06:25:42 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
add175e528 fix: auto-initialize RefractorCardState in evaluate-game for legacy cards
Cards created before the refractor system was deployed have no
RefractorCardState row. Previously evaluate-game silently skipped these
players. Now it calls initialize_card_refractor on-the-fly so any card
used in a game gets refractor tracking regardless of when it was created.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 01:22:37 -05:00