aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl
diff options
context:
space:
mode:
authorTimothée Floure2016-05-09 15:25:47 +0200
committerTimothée Floure2016-05-09 15:25:47 +0200
commit07672117b406c6f967e02e997a484114beca37be (patch)
treee64b6739fc6d88b4583b5fe5eb410b14fa20fcca /src/ch/epfl
parentfc7783bebc429a2ba368f96be8ced16c9d7509d4 (diff)
downloadxblast-07672117b406c6f967e02e997a484114beca37be.tar.gz
Fix scores separator in ScorePainter
Diffstat (limited to 'src/ch/epfl')
-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