a lot useless fonction, need to add chakib branch and erase useless fonction

This commit is contained in:
Theouche
2024-07-29 18:03:23 +02:00
parent 2efc9bc962
commit 9e950a361a
2 changed files with 80 additions and 48 deletions

View File

@@ -140,6 +140,7 @@ document.addEventListener('DOMContentLoaded', () => {
try {
const result = await registerUser(nickname, password);
if (result) {
//await createPlayer(nickname);
registerForm.style.display = 'none';
gameContainer.style.display = 'flex';
startWebSocketConnection(token);