From: Carl Worth Date: Mon, 11 May 2020 23:06:53 +0000 (-0700) Subject: Drop the message-area notifications for new players joining X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=460ef623356d8af3c67adcae3157402e6429fe8c Drop the message-area notifications for new players joining 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). --- diff --git a/empires/empires-client.js b/empires/empires-client.js index 3be0670..39c59ec 100644 --- a/empires/empires-client.js +++ b/empires/empires-client.js @@ -62,8 +62,6 @@ events.addEventListener("player-join", function(event) { 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"; });