mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed the impossiblity to disable Vanguard variant mode in desktop version of Forge.
This commit is contained in:
@@ -406,7 +406,7 @@ public abstract class GameLobby {
|
|||||||
deck = deck == null ? rp.getDeck() : deck;
|
deck = deck == null ? rp.getDeck() : deck;
|
||||||
|
|
||||||
final CardPool avatarPool = deck.get(DeckSection.Avatar);
|
final CardPool avatarPool = deck.get(DeckSection.Avatar);
|
||||||
if (avatarPool != null) {
|
if (avatarPool != null && (hasVariant(GameType.Vanguard) || hasVariant(GameType.MomirBasic))) {
|
||||||
vanguardAvatar = avatarPool.get(0);
|
vanguardAvatar = avatarPool.get(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user