diff options
author | Timothée Floure | 2016-05-09 15:25:47 +0200 |
---|---|---|
committer | Timothée Floure | 2016-05-09 15:25:47 +0200 |
commit | 07672117b406c6f967e02e997a484114beca37be (patch) | |
tree | e64b6739fc6d88b4583b5fe5eb410b14fa20fcca | |
parent | fc7783bebc429a2ba368f96be8ced16c9d7509d4 (diff) | |
download | xblast-07672117b406c6f967e02e997a484114beca37be.tar.gz |
Fix scores separator in ScorePainter
-rw-r--r-- | src/ch/epfl/xblast/client/painter/ScorePainter.java | 2 |
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 | ||