achmad 2ca87af1b5 fix: return decks as map keyed by deck_index
Game client Lua expects GET /decks to return a map of
{deck_index: {name, cards}} not a flat array. Array format caused
self.decks to be set to wrong structure, breaking deck lookups and
triggering phantom deck creation on every interaction.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 03:54:04 +07:00
2026-05-29 20:04:31 +07:00
2026-05-29 20:04:31 +07:00
2026-05-29 20:04:31 +07:00
S
Description
No description provided
131 KiB
Languages
TypeScript 98.6%
Dockerfile 1%
JavaScript 0.2%
Shell 0.1%