aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl/xblast/client/painter/ScorePainter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/xblast/client/painter/ScorePainter.java')
-rw-r--r--src/ch/epfl/xblast/client/painter/ScorePainter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ch/epfl/xblast/client/painter/ScorePainter.java b/src/ch/epfl/xblast/client/painter/ScorePainter.java
index e412dd8..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
@@ -60,7 +60,7 @@ public class ScorePainter {
60 throw new IllegalArgumentException(); 60 throw new IllegalArgumentException();
61 61
62 return Arrays.asList( 62 return Arrays.asList(
63 ImageCollection.PLAYERS_IMAGES.imageOrNull(imageIDForPlayer(p)), 63 ImageCollection.SCORES_IMAGES.imageOrNull(imageIDForPlayer(p)),
64 TEXT_MIDDLE_IMG, 64 TEXT_MIDDLE_IMG,
65 TEXT_RIGHT_IMG); 65 TEXT_RIGHT_IMG);
66 } 66 }