Fix CaptureTheFlag win

This commit is contained in:
joachimschmidt557 2019-03-26 17:19:32 +01:00
parent bf13680e78
commit 420a1af3ef
2 changed files with 22 additions and 5 deletions

View file

@ -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;
}