diff --git a/apps/client/src/scenes/game/entities/player/PlayerView.ts b/apps/client/src/scenes/game/entities/player/PlayerView.ts index 2717ebd..24ed39d 100644 --- a/apps/client/src/scenes/game/entities/player/PlayerView.ts +++ b/apps/client/src/scenes/game/entities/player/PlayerView.ts @@ -20,6 +20,8 @@ "/yellow.svg", // teamId: 3 のときの画像 ]; + config.validateTeamConfig(); + if (characterImages.length !== TEAM_COUNT) { throw new Error( `GAME_CONFIG mismatch: characterImages length (${characterImages.length}) must equal TEAM_COUNT (${TEAM_COUNT})`,