diff --git a/flight.rdbg b/flight.rdbg index 5f649c1..35e2cae 100644 Binary files a/flight.rdbg and b/flight.rdbg differ diff --git a/main.c b/main.c index 4e9fb4e..7699d33 100644 --- a/main.c +++ b/main.c @@ -686,7 +686,7 @@ static void init(void) /* received. Reset the peer in the event the 5 seconds */ /* had run out without any significant event. */ enet_peer_reset(peer); - Log("Failed to connect to server\n"); + Log("Failed to connect to server. It might be too full\n"); quit_with_popup("Failed to connect to server. Is your wifi down? It took too long.", "Connection Failure"); } } diff --git a/server.c b/server.c index 3cb24f2..ca17af2 100644 --- a/server.c +++ b/server.c @@ -236,7 +236,6 @@ void server(void *info_raw) else { int64_t player_slot = (int64_t)event.peer->data; - size_t length = event.packet->dataLength; #define VOIP_QUEUE_DECL(queue_name, queue_data_name) \ Queue queue_name = {0}; \ char queue_data_name[QUEUE_SIZE_FOR_ELEMENTS(sizeof(OpusPacket), VOIP_PACKET_BUFFER_SIZE)] = {0}; \