Removing logs
This commit is contained in:
parent
fb8d7b5d59
commit
f44a44c109
@ -252,7 +252,6 @@ export class Connexion implements ConnexionInterface {
|
|||||||
*/
|
*/
|
||||||
joinARoom(roomId: string): void {
|
joinARoom(roomId: string): void {
|
||||||
this.socket.emit(EventMessage.JOIN_ROOM, roomId, (userPositions: MessageUserPositionInterface[]) => {
|
this.socket.emit(EventMessage.JOIN_ROOM, roomId, (userPositions: MessageUserPositionInterface[]) => {
|
||||||
console.log("GOT AN ANSWER FROM JOIN_ROOM");
|
|
||||||
this.GameManager.initUsersPosition(userPositions);
|
this.GameManager.initUsersPosition(userPositions);
|
||||||
});
|
});
|
||||||
this.lastRoom = roomId;
|
this.lastRoom = roomId;
|
||||||
|
@ -392,10 +392,7 @@ export class GameScene extends Phaser.Scene {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.addPlayer(userPosition);
|
this.addPlayer(userPosition);
|
||||||
console.log("Added player ", userPosition)
|
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("Initialized with ", usersPosition);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private findPlayerInMap(UserId : string) : GamerInterface | null{
|
private findPlayerInMap(UserId : string) : GamerInterface | null{
|
||||||
|
Loading…
Reference in New Issue
Block a user