From 06f28008e9ca5d0ac81cdb50469280b6de9f3c01 Mon Sep 17 00:00:00 2001 From: Sol Date: Thu, 14 Apr 2016 15:19:58 +0000 Subject: [PATCH] - There should only be two teams when playing Archenemy, so set all the Heroes to be on the same team when starting the game --- forge-gui/src/main/java/forge/match/GameLobby.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/src/main/java/forge/match/GameLobby.java b/forge-gui/src/main/java/forge/match/GameLobby.java index 2fb41bc2032..356db1ee78d 100644 --- a/forge-gui/src/main/java/forge/match/GameLobby.java +++ b/forge-gui/src/main/java/forge/match/GameLobby.java @@ -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 aiOptions = slot.getAiOptions(); final boolean isAI = slot.getType() == LobbySlotType.AI;