diff --git a/game/multiP/CreaSq/CreaSq_client.js b/game/multiP/CreaSq/CreaSq_client.js index d01beccb..5b3b9ee1 100644 --- a/game/multiP/CreaSq/CreaSq_client.js +++ b/game/multiP/CreaSq/CreaSq_client.js @@ -2,6 +2,8 @@ function CreaCodSq() { EntraInSq(0); document.getElementById('roomId').style.display = 'block'; + document.getElementById('SquadInp').value = ''; + ToggleButton() // Fai una richiesta al server per creare una nuova stanza fetch('http://127.0.0.1:2567/') diff --git a/game/multiP/onlineUser.html b/game/multiP/onlineUser.html index 649dd2f4..3de9c906 100644 --- a/game/multiP/onlineUser.html +++ b/game/multiP/onlineUser.html @@ -69,15 +69,16 @@ - +