Fix update callback

This commit is contained in:
gparant 2020-05-03 16:30:22 +02:00
parent 372f938bbb
commit c48073b908

View file

@ -47,10 +47,10 @@ export class IoSocketController {
this.shareUsersPosition();
//don't send only function because the context will be not this
this.World = new World((user1: string, user2: string, group: Group) => {
this.connectedUser(user1, user2, group);
}, (user1: string, user2: string, group: Group) => {
this.disConnectedUser(user1, user2, group);
this.World = new World((user1: string, group: Group) => {
this.connectedUser(user1, group);
}, (user1: string, group: Group) => {
this.disConnectedUser(user1, group);
});
}