Skip to content

Commit

Permalink
Merge pull request #92 from ArchipelagoMW/remove-superflous-line-in-L…
Browse files Browse the repository at this point in the history
…oginAsync

Remove superflous line in LoginAsync
  • Loading branch information
Jarno458 authored Jul 6, 2024
2 parents 8d28ced + 994f063 commit 8a5e7f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Archipelago.MultiClient.Net/ArchipelagoSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ public Task<LoginResult> LoginAsync(string game, string name, ItemsHandlingFlags

if (!roomInfoPacketTask.Task.IsCompleted)
{
loginResultTask = new TaskCompletionSource<LoginResult>();
loginResultTask.TrySetResult(new LoginFailure("You are not connected, run ConnectAsync() first"));
return loginResultTask.Task;
}
Expand Down Expand Up @@ -400,4 +399,4 @@ ConnectPacket BuildConnectPacket(string name, string password, Version version,
RequestSlotData = requestSlotData
};
}
}
}

0 comments on commit 8a5e7f6

Please sign in to comment.