Skip to content

Commit

Permalink
prevent klop from timeouting
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Jan 17, 2024
1 parent ab8f19c commit 46b9e25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/internal/ws/licitiranje.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ func (s *serverImpl) Licitiranje(tip int32, gameId string, userId string) {
game.CardsStarted = true
game.CurrentPredictions = &messages.Predictions{Gamemode: game.GameMode}

if game.TournamentID != "" {
return
}

// igramo klopa
s.FirstPrediction(gameId)
}
Expand Down

0 comments on commit 46b9e25

Please sign in to comment.