Merge branch 'chaku' of github.com:AudebertAdrien/ft_transcendence into test

This commit is contained in:
Adrien Audebert 2024-07-22 18:22:53 +02:00
commit 42e8cc5499

View File

@ -62,7 +62,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (result) {
registerForm.style.display = 'none';
gameContainer.style.display = 'flex';
startGame();
startWebSocketConnection(token);
} else {
alert('Registration failed. Please try again.');
}