plus propre (fix du map -1)

This commit is contained in:
Baptiste 2023-12-27 12:28:51 +01:00
parent 5d7bfc13bf
commit b69f9e0b44

View file

@ -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));