Fix player marker html usage

This commit is contained in:
James Lyne 2020-12-14 00:28:09 +00:00
parent 6249eb904b
commit ba4c7604d0

View File

@ -66,7 +66,7 @@ export class PlayerIcon extends DivIcon {
this._playerName = document.createElement('span'); this._playerName = document.createElement('span');
this._playerName.className = 'player__name'; this._playerName.className = 'player__name';
this._playerName.innerText = player.name; this._playerName.innerHTML = player.name;
if (this.options.showSkinFace) { if (this.options.showSkinFace) {
let size; let size;