add compatibility for string game mode ids

This commit is contained in:
tresabhi committed 2026-09-23 16:31:35 -05:00
1 parent 84f950ade4
commit 347efa75fe
22 files changed
+394 -740

No files matched your search

@@ -25,8 +25,7 @@ export function GameModeSection() {
</Heading>
<Flex justify="center" gap="4" wrap="wrap" px="4">
{roles.map(([key, value]) => {
const id = Number(key);
{roles.map(([id, value]) => {
const gameMode = gameDefinitions.gameModes[id];
return (