Removing logs

This commit is contained in:
David Négrier 2020-05-20 12:30:17 +02:00
parent fb8d7b5d59
commit f44a44c109
2 changed files with 0 additions and 4 deletions

View 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;

View 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{