Fix update callback
This commit is contained in:
parent
372f938bbb
commit
c48073b908
@ -47,10 +47,10 @@ export class IoSocketController {
|
|||||||
this.shareUsersPosition();
|
this.shareUsersPosition();
|
||||||
|
|
||||||
//don't send only function because the context will be not this
|
//don't send only function because the context will be not this
|
||||||
this.World = new World((user1: string, user2: string, group: Group) => {
|
this.World = new World((user1: string, group: Group) => {
|
||||||
this.connectedUser(user1, user2, group);
|
this.connectedUser(user1, group);
|
||||||
}, (user1: string, user2: string, group: Group) => {
|
}, (user1: string, group: Group) => {
|
||||||
this.disConnectedUser(user1, user2, group);
|
this.disConnectedUser(user1, group);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user