From 460ef623356d8af3c67adcae3157402e6429fe8c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 11 May 2020 16:06:53 -0700 Subject: [PATCH] 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). --- empires/empires-client.js | 2 -- 1 file changed, 2 deletions(-) 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"; }); -- 2.43.0