Fixing reconnection to server on back failure
This commit is contained in:
parent
2fba6956a6
commit
a19edd4dc1
6 changed files with 87 additions and 47 deletions
|
@ -96,7 +96,6 @@ export class GameRoom {
|
|||
}
|
||||
const position = ProtobufUtils.toPointInterface(positionMessage);
|
||||
|
||||
|
||||
const user = new User(this.nextUserId, joinRoomMessage.getUseruuid(), position, false, this.positionNotifier, socket, joinRoomMessage.getTagList(), joinRoomMessage.getName(), ProtobufUtils.toCharacterLayerObjects(joinRoomMessage.getCharacterlayerList()));
|
||||
this.nextUserId++;
|
||||
this.users.set(user.id, user);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue