do not send on game update when user connected

This commit is contained in:
Halit Aksoy 2022-07-30 16:14:08 +03:00
parent e53c7bcffc
commit ceaf70ef05

View File

@ -92,10 +92,7 @@ export class GameManager {
}
public fireOnPlayerConnected(playerId: string) {
const game = this.gameStore.get(playerId);
if (game) {
this.rtmt.sendMessage(playerId, channel_on_game_update, game);
}
}
public createMancalaGame(userKey1: string, userKey2: string) {