Update PopulationGoal.java
This commit is contained in:
parent
a26f17a56e
commit
494f2d0a9d
1 changed files with 7 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ public class PopulationGoal extends Goal {
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
|
||||||
// Ansonsten: Bevölkerung zählen
|
// Ansonsten: Bevölkerung zählen
|
||||||
|
|
||||||
int numberOfHighPopulationCastles = 0;
|
int numberOfHighPopulationCastles = 0;
|
||||||
|
|
||||||
|
|
@ -86,7 +86,12 @@ public class PopulationGoal extends Goal {
|
||||||
isDraw = true;
|
isDraw = true;
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return Collections.max(highPopulationPlayers, comp);
|
return Collections.max(highPopulationPlayers, comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ansonsten... gewinnt noch kein spieler.
|
||||||
|
return null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue