FE tweak
This commit is contained in:
@ -76,8 +76,8 @@
|
|||||||
function renderPlayers(players) {
|
function renderPlayers(players) {
|
||||||
players.filter(player => player.active).forEach(player => {
|
players.filter(player => player.active).forEach(player => {
|
||||||
const cell = findCell(player.position);
|
const cell = findCell(player.position);
|
||||||
|
const playerIcon = player.reached_destination ? "😎" : "😀";
|
||||||
if (cell) {
|
if (cell) {
|
||||||
const playerIcon = "😎";
|
|
||||||
const html = `
|
const html = `
|
||||||
<div class="player-tooltip">${player.name}</div>
|
<div class="player-tooltip">${player.name}</div>
|
||||||
${playerIcon}
|
${playerIcon}
|
||||||
|
|||||||
Reference in New Issue
Block a user