do not send on game update when user connected
This commit is contained in:
parent
e53c7bcffc
commit
ceaf70ef05
@ -92,10 +92,7 @@ export class GameManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public fireOnPlayerConnected(playerId: string) {
|
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) {
|
public createMancalaGame(userKey1: string, userKey2: string) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user