mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 18:17:07 +01:00
a lot useless fonction, need to add chakib branch and erase useless fonction
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user