From 43770f58938d0b9345b53b5cf8f64f15e6b52799 Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Sat, 15 Oct 2016 20:52:49 +0200 Subject: [PATCH] MUConnectionController: respect the user's TCP mode setting. --- Source/Classes/MUConnectionController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Classes/MUConnectionController.m b/Source/Classes/MUConnectionController.m index 9ff9838..4c43d5c 100644 --- a/Source/Classes/MUConnectionController.m +++ b/Source/Classes/MUConnectionController.m @@ -120,6 +120,7 @@ - (void) hideConnectingView { - (void) establishConnection { _connection = [[MKConnection alloc] init]; [_connection setDelegate:self]; + [_connection setForceTCP:[[NSUserDefaults standardUserDefaults] boolForKey:@"NetworkForceTCP"]]; _serverModel = [[MKServerModel alloc] initWithConnection:_connection]; [_serverModel addDelegate:self];