mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Extra error check for Conspiracies that aren't Power Play.
This commit is contained in:
@@ -1404,10 +1404,12 @@ public class GameAction {
|
|||||||
powerPlayers.add(c.getOwner());
|
powerPlayers.add(c.getOwner());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (powerPlayers.size() > 0) {
|
||||||
ArrayList<Player> players = Lists.newArrayList(powerPlayers);
|
ArrayList<Player> players = Lists.newArrayList(powerPlayers);
|
||||||
Collections.shuffle(players);
|
Collections.shuffle(players);
|
||||||
return players.get(0);
|
return players.get(0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
boolean isFirstGame = lastGameOutcome == null;
|
boolean isFirstGame = lastGameOutcome == null;
|
||||||
if (isFirstGame) {
|
if (isFirstGame) {
|
||||||
|
|||||||
Reference in New Issue
Block a user