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=empires-html;a=commitdiff_plain;h=2168b38f5f30a7faa4005dd19944c583aba2e94d 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-client.js b/empires-client.js index 3be0670..39c59ec 100644 --- a/empires-client.js +++ b/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"; });