[network] fixes
This commit is contained in:
@@ -28,7 +28,7 @@ import ru.m.puzzlez.proto.pack.Response;
|
||||
user = new UserProto().setName('Anonimus #${UUID.generateRandom(new Random()).toString().split("-").shift()}');
|
||||
storage.write(USER_KEY, user);
|
||||
}
|
||||
connection = ConnectionFactory.buildClientConnection("127.0.0.1", 6000, Response);
|
||||
connection = ConnectionFactory.buildClientConnection("127.0.0.1", 5000, Response);
|
||||
connection.handler.connect(onConnectionChange);
|
||||
connection.receiveHandler.connect(onReceivePacket);
|
||||
connection.connect();
|
||||
|
||||
@@ -62,7 +62,7 @@ import ru.m.update.Updater;
|
||||
updateButton.visible = true;
|
||||
updateButton.text = 'Update ${info.version}';
|
||||
}
|
||||
});
|
||||
}).catchError(error -> L.w('Update', 'failed: ${error}'));
|
||||
}
|
||||
|
||||
private function sourceViewFactory(index:Int, source:ImageListSource):ButtonView {
|
||||
|
||||
Reference in New Issue
Block a user