Adding point for winning against the elders
All checks were successful
Jenkins Production Deployment
All checks were successful
Jenkins Production Deployment
This commit is contained in:
parent
e26cd21cc6
commit
4dbc6a2a4d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user