fixed race array enlarging in regatta structure import

Change-Id: Iab98261cea11e4b1c6e321b75ab80758ef700eb7
This commit is contained in:
Axel Uhl committed 2019-04-02 15:00:13 +02:00
1 parent a5af304743
commit efa7ab5b0e
1 file changed
+1 -1
@@ -34,7 +34,7 @@ public class Fleet implements Comparable {
numRaces++;
} else {
Race[] temp = racesOld;
racesOld = new Race[temp.length + NUMBEROFRACES];
racesOld = new Race[raceNumber];
for (int i = 0; i < temp.length; i++) {
racesOld[i] = temp[i];
}