Skip to content

Commit

Permalink
Add migration for draft deck selection
Browse files Browse the repository at this point in the history
  • Loading branch information
gereon77 committed May 24, 2024
1 parent 34a47e4 commit 1029221
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 1029221

Please sign in to comment.