Send at every player connected
This commit is contained in:
parent
8c43c67741
commit
0d2893ec75
@ -402,7 +402,8 @@ export class IoSocketController {
|
||||
});
|
||||
|
||||
socket.on(SockerIoEvent.PLAY_GLOBAL_MESSAGE, (itemEvent: unknown) => {
|
||||
socket.broadcast.emit(SockerIoEvent.PLAY_GLOBAL_MESSAGE, itemEvent);
|
||||
//permit to send message at every member connected
|
||||
this.Io.emit(SockerIoEvent.PLAY_GLOBAL_MESSAGE, itemEvent);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user