diff --git a/Archipelago.MultiClient.Net/ArchipelagoSession.cs b/Archipelago.MultiClient.Net/ArchipelagoSession.cs index 2ea0d25..9600535 100644 --- a/Archipelago.MultiClient.Net/ArchipelagoSession.cs +++ b/Archipelago.MultiClient.Net/ArchipelagoSession.cs @@ -279,7 +279,6 @@ public Task LoginAsync(string game, string name, ItemsHandlingFlags if (!roomInfoPacketTask.Task.IsCompleted) { - loginResultTask = new TaskCompletionSource(); loginResultTask.TrySetResult(new LoginFailure("You are not connected, run ConnectAsync() first")); return loginResultTask.Task; } @@ -400,4 +399,4 @@ ConnectPacket BuildConnectPacket(string name, string password, Version version, RequestSlotData = requestSlotData }; } -} \ No newline at end of file +}