Skip to content

Commit 6d2911b

Browse files
Updating default scoring system
1 parent 7241720 commit 6d2911b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/kendo-tournament-persistence/src/main/java/com/softwaremagico/kt/persistence/entities/Tournament.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public Tournament() {
9696
}
9797

9898
public Tournament(String name, int shiaijos, int teamSize, TournamentType type, String createdBy) {
99-
this(name, shiaijos, teamSize, type, createdBy, ScoreType.CLASSIC);
99+
this(name, shiaijos, teamSize, type, createdBy, ScoreType.INTERNATIONAL);
100100
}
101101

102102
public Tournament(String name, int shiaijos, int teamSize, TournamentType type, String createdBy, ScoreType scoreType) {

frontend/src/app/models/tournament-score.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class TournamentScore extends Element {
88

99
constructor() {
1010
super();
11-
this.scoreType = ScoreType.EUROPEAN;
11+
this.scoreType = ScoreType.INTERNATIONAL;
1212
this.pointsByVictory = 1;
1313
this.pointsByDraw = 0;
1414
}

0 commit comments

Comments
 (0)