From 07672117b406c6f967e02e997a484114beca37be Mon Sep 17 00:00:00 2001 From: Timothée Floure Date: Mon, 9 May 2016 15:25:47 +0200 Subject: Fix scores separator in ScorePainter --- src/ch/epfl/xblast/client/painter/ScorePainter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { return players.stream() .flatMap(p -> Stream.concat( buildPlayerScorePanel(p).stream(), - p.id().ordinal() % 2 == 0 ? buildSeparator().stream() : Stream.empty())) + p.id().ordinal() == 1 ? buildSeparator().stream() : Stream.empty())) .collect(Collectors.toList()); } -- cgit v1.2.3