Removing logs
authorDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 20 May 2020 10:30:17 +0000 (12:30 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 20 May 2020 10:30:17 +0000 (12:30 +0200)
front/src/Connexion.ts
front/src/Phaser/Game/GameScene.ts

index 78789fef5f00ad391222603423f7fdd3984e681b..e1a35ec73c166cd367494c53bf494ecd0a98ef98 100644 (file)
@@ -252,7 +252,6 @@ export class Connexion implements ConnexionInterface {
      */
     joinARoom(roomId: string): void {
         this.socket.emit(EventMessage.JOIN_ROOM, roomId, (userPositions: MessageUserPositionInterface[]) => {
-            console.log("GOT AN ANSWER FROM JOIN_ROOM");
             this.GameManager.initUsersPosition(userPositions);
         });
         this.lastRoom = roomId;
index 2f9e5b71b9114654480322f0d267c9eb4c3fad14..0b0d08ed24e1a5875f53e1c90abb19c1e2e4a95e 100644 (file)
@@ -392,10 +392,7 @@ export class GameScene extends Phaser.Scene {
                 return;
             }
             this.addPlayer(userPosition);
-            console.log("Added player ", userPosition)
         });
-
-        console.log("Initialized with ", usersPosition);
     }
 
     private findPlayerInMap(UserId : string) : GamerInterface | null{