Skip to content

Commit

Permalink
Red name to codergautam
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Jan 13, 2024
1 parent 0452ade commit daa6e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/game/entities/Player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Player extends BaseEntity {
name.setFontFamily('Arial');
name.setFontSize(50);
name.setOrigin(0.5, 1);
name.setFill(this.account ? '#0000ff' : '#000000');
name.setFill(this.account ? (this.name?.toLowerCase() === 'codergautam' ? '#ff0000' : '#0000ff') : '#000000');

this.messageText = this.game.add.text(0, -this.body.height / 2 - 100, '')
.setFontFamily('Arial')
Expand Down

0 comments on commit daa6e66

Please sign in to comment.