Skip to content

Commit

Permalink
player and opponent stat boxes/maps now work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
bazola committed Sep 18, 2014
1 parent d771b16 commit b9c47a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private void processPlayerMessage(PlayerMessage message) {
private void processPlayerMessageForPlayer(PlayerMessage message, Pane statBox, Map playerMap) {
statBox.getChildren().clear();
Map<String, Integer> sortedMap = new TreeMap<>(message.getProperties());
playerMap = sortedMap;
playerMap.putAll(sortedMap);
for (Map.Entry<String, Integer> entry : sortedMap.entrySet()) {
String key = entry.getKey();
statBox.getChildren().add(new Label(key));
Expand Down

0 comments on commit b9c47a5

Please sign in to comment.