mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Fixed a bug that caused the deck not to reset properly after playing Momir/MoJhoSto.
This commit is contained in:
@@ -437,6 +437,7 @@ public abstract class GameLobby implements IHasGameType {
|
||||
}
|
||||
else if (autoGenerateVariant != null) {
|
||||
Deck autoDeck = autoGenerateVariant.autoGenerateDeck(rp);
|
||||
deck = new Deck("Autogenerated Deck");
|
||||
for (DeckSection d : DeckSection.values()) {
|
||||
if (autoDeck.has(d)) {
|
||||
deck.getOrCreate(d).clear();
|
||||
|
||||
Reference in New Issue
Block a user