Skip to content

Commit 784dd76

Browse files
committed
Hottest fix
1 parent 1dd6e1d commit 784dd76

File tree

1 file changed

+1
-1
lines changed
  • services/app/apps/codebattle/lib/codebattle/tournament/strategy

1 file changed

+1
-1
lines changed

services/app/apps/codebattle/lib/codebattle/tournament/strategy/base.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ defmodule Codebattle.Tournament.Base do
980980
|> Enum.each(fn player_id ->
981981
player = Tournament.Players.get_player(tournament, player_id)
982982

983-
player ||
983+
player &&
984984
Tournament.Players.put_player(tournament, %{
985985
player
986986
| score: player.score + player_results[player_id].score,

0 commit comments

Comments
 (0)