mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- There should only be two teams when playing Archenemy, so set all the Heroes to be on the same team when starting the game
This commit is contained in:
@@ -361,8 +361,8 @@ public abstract class GameLobby implements IHasGameType {
|
||||
final IGuiGame gui = getGui(data.slots.indexOf(slot));
|
||||
final String name = slot.getName();
|
||||
final int avatar = slot.getAvatarIndex();
|
||||
final int team = slot.getTeam();
|
||||
final boolean isArchenemy = slot.isArchenemy();
|
||||
final int team = GameType.Archenemy.equals(currentGameType) && !isArchenemy ? 1 : slot.getTeam();
|
||||
final Set<AIOption> aiOptions = slot.getAiOptions();
|
||||
|
||||
final boolean isAI = slot.getType() == LobbySlotType.AI;
|
||||
|
||||
Reference in New Issue
Block a user