From 5da12aea1ae0dd8d7eccc5ccb81d8dd354c02304 Mon Sep 17 00:00:00 2001 From: Victor Lasserre Date: Thu, 21 Dec 2023 12:00:58 +0100 Subject: [PATCH] Google is nasty --- public_html/js/class.js | 2 +- public_html/js/global.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/js/class.js b/public_html/js/class.js index 3130ef3..94f97c2 100644 --- a/public_html/js/class.js +++ b/public_html/js/class.js @@ -464,7 +464,7 @@ class Portal } } -class Map +class Game_Map { constructor(portalsOut,z) // portalsIn/Out : portal teleport In/Out; z: idDimension { diff --git a/public_html/js/global.js b/public_html/js/global.js index c6b2b8f..90136b7 100644 --- a/public_html/js/global.js +++ b/public_html/js/global.js @@ -36,7 +36,7 @@ let portals = [new Portal(250,457,0,500,500,0),//O new Portal(721,767,0,500,500,0), // S new Portal(970,476,0,500,500,0)];//Mid -let maps = [new Map(portals.slice(0),0)]; +let maps = [new Game_Map(portals.slice(0),0)]; players.push(new Player(-1,-50,-50,-1,"VOITURES",0));