From b69f9e0b44c3498decd49272f006b25953f36797 Mon Sep 17 00:00:00 2001 From: Baptiste Date: Wed, 27 Dec 2023 12:28:51 +0100 Subject: [PATCH] plus propre (fix du map -1) --- public_html/js/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/global.js b/public_html/js/global.js index 11827de..2f42a71 100644 --- a/public_html/js/global.js +++ b/public_html/js/global.js @@ -86,7 +86,7 @@ let maps = [new Game_Map(portals.slice(0,8),0,map0Squares,[]), new Game_Map(portals.slice(19,20),9,map9Squares,[]), new Game_Map(portals.slice(20,21),10,map10Squares,map10Circles), new Game_Map(portals.slice(21,22),11,map11Squares,map11Circles)]; -maps[-1]=new Game_Map([],-1,[],[]) +maps[-1]=maps[0] players.push(new Player(-1,-50,-50,-1,"VOITURES",0));