Adding point for winning against the elders
All checks were successful
Jenkins Production Deployment

This commit is contained in:
Patrick Müller 2022-09-16 15:28:01 +02:00
parent e26cd21cc6
commit 4dbc6a2a4d
Signed by: Paddy
GPG Key ID: 37ABC11275CAABCE

View File

@ -405,6 +405,11 @@ export class AddGameComponent implements OnInit {
winningTeam = winningTeam === Team.RE ? Team.CONTRA : Team.RE;
}
if(winningTeam === Team.CONTRA) {
// Against the elders
gameScore++;
}
// Double Score in case of announcement
if (this.checkAnnouncementActive(announcements.Announcement.RE)) {
gameScore *= 2;