Fix CaptureTheFlag win
This commit is contained in:
parent
bf13680e78
commit
420a1af3ef
2 changed files with 22 additions and 5 deletions
|
|
@ -39,6 +39,9 @@ public class CaptureTheFlagGoal extends Goal {
|
|||
public void setGame(Game game) {
|
||||
|
||||
super.setGame(game);
|
||||
|
||||
flagCastles = new ArrayList<Castle>();
|
||||
|
||||
numFlagCastles = this.getGame().getPlayers().size() * NUM_FLAG_CASTLES_MULTIPLIER;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue