Minor fix

This commit is contained in:
hubourge
2024-11-11 18:14:27 +01:00
parent 280c66f5ca
commit bcea894e9f
3 changed files with 14 additions and 18 deletions

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* multiLocalGamePage.js :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/28 12:07:39 by edbernar #+# #+# */
/* Updated: 2024/10/03 00:48:19 by edbernar ### ########.fr */
/* Updated: 2024/11/11 15:42:23 by hubourge ### ########.fr */
/* */
/* ************************************************************************** */
@ -53,11 +53,6 @@ class multiLocalGamePage
camera.position.set(0, 22, 0);
document.addEventListener('keypress', (e) => {
if (e.key == 'a')
Map.reCreate(true);
})
renderer.setAnimationLoop(loop);
document.body.style.opacity = 1;
}