aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ch/epfl/xblast/client/painter/ScorePainter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/client/painter/ScorePainter.java b/src/ch/epfl/xblast/client/painter/ScorePainter.java
index 367d9f6..4fb6412 100644
--- a/src/ch/epfl/xblast/client/painter/ScorePainter.java
+++ b/src/ch/epfl/xblast/client/painter/ScorePainter.java
@@ -45,7 +45,7 @@ public class ScorePainter {
45 return players.stream() 45 return players.stream()
46 .flatMap(p -> Stream.concat( 46 .flatMap(p -> Stream.concat(
47 buildPlayerScorePanel(p).stream(), 47 buildPlayerScorePanel(p).stream(),
48 p.id().ordinal() % 2 == 0 ? buildSeparator().stream() : Stream.empty())) 48 p.id().ordinal() == 1 ? buildSeparator().stream() : Stream.empty()))
49 .collect(Collectors.toList()); 49 .collect(Collectors.toList());
50 } 50 }
51 51