mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +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) {
|
else if (autoGenerateVariant != null) {
|
||||||
Deck autoDeck = autoGenerateVariant.autoGenerateDeck(rp);
|
Deck autoDeck = autoGenerateVariant.autoGenerateDeck(rp);
|
||||||
|
deck = new Deck("Autogenerated Deck");
|
||||||
for (DeckSection d : DeckSection.values()) {
|
for (DeckSection d : DeckSection.values()) {
|
||||||
if (autoDeck.has(d)) {
|
if (autoDeck.has(d)) {
|
||||||
deck.getOrCreate(d).clear();
|
deck.getOrCreate(d).clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user