Skip to content

Commit

Permalink
Last adjustment. RaphaelJS is back.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonfmir committed Aug 4, 2017
1 parent e67303e commit 43505f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions players/static/js/watch/world-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ const VIEWER = Object.create({
player.push(
playerBody,
playerTextAbove,
playerTextBelow
playerTextBelow,
currentUserIcon
);
return player;
},
Expand All @@ -95,7 +96,7 @@ const VIEWER = Object.create({
this.clearDrawnElements(this.drawnElements.players);

for (var i = 0; i < this.world.players.length; i++) {
var is_current_user = this.world.players[i]["id"] === CURRENT_USER_PLAYER_KEY;
var is_current_user = this.world.players[i]["id"] === 1;//CURRENT_USER_PLAYER_KEY;
var playerElement = this.constructNewPlayerElement(this.world.players[i], is_current_user);
this.drawnElements.players.push(playerElement);
}
Expand Down

0 comments on commit 43505f2

Please sign in to comment.