The names are consistently added to the players list below, so we
don't really need messages here, (plus, the messages got distracting
in later phases of the game such as "reveal" unless the player
manually cleared them away).
li.innerText = player.name;
players.appendChild(li);
li.innerText = player.name;
players.appendChild(li);
- add_message("success", player.name + " is now in the game!");
-
/* Force players list to be visible. */
players_div.style.display = "block";
});
/* Force players list to be visible. */
players_div.style.display = "block";
});