Teams without any players won't score

This commit is contained in:
Superyoshi 2011-04-05 14:04:21 +02:00
parent 568833b1bf
commit 55ac717f89

View File

@ -351,7 +351,7 @@ public class Team {
}
public void addPoint() {
points++;
if (players.size()!=0) points++;
}
public int getPoints() {
@ -405,7 +405,7 @@ public class Team {
}
public void setPoints(int score) {
this.points = score;
if (players.size()!=0) this.points = score;
}
public void setFlagVolume(Volume flagVolume) {