Skip to content

Commit

Permalink
Merge pull request #1832 from gereon77/add-migration-for-draft-deck-s…
Browse files Browse the repository at this point in the history
…election

Add migration for draft deck selection
  • Loading branch information
gereon77 authored May 24, 2024
2 parents 34a47e4 + 1029221 commit 1bb5c5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions agot-bg-game-server/src/server/serializedGameMigrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
];

Expand Down

0 comments on commit 1bb5c5d

Please sign in to comment.