From 1029221314820c3249cd7654597862542814f130 Mon Sep 17 00:00:00 2001 From: gereon77 Date: Fri, 24 May 2024 12:11:51 +0200 Subject: [PATCH] Add migration for draft deck selection --- agot-bg-game-server/src/server/serializedGameMigrations.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/agot-bg-game-server/src/server/serializedGameMigrations.ts b/agot-bg-game-server/src/server/serializedGameMigrations.ts index 9df5d3c99..1dfa146f6 100644 --- a/agot-bg-game-server/src/server/serializedGameMigrations.ts +++ b/agot-bg-game-server/src/server/serializedGameMigrations.ts @@ -2203,6 +2203,13 @@ const serializedGameMigrations: {version: string; migrate: (serializeGamed: any) }); return serializedGame; } + }, + { + version: "114", + migrate: (serializedGame: any) => { + serializedGame.gameSettings.selectedDraftDecks = 7; // Currently All: Base + Dwd / FfC + ASoS + return serializedGame; + } } ];