Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
fixed a bug that showed solos as random team
Browse files Browse the repository at this point in the history
  • Loading branch information
slimDebug committed May 14, 2022
1 parent 8d3e04a commit 04b72e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HuntMmrReader/Models/HuntTeam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal HuntTeam(string? mmr, ushort id, string? inviteTeam, string? skillBased
List<HuntPlayer> teamMembers) : base(mmr, id)
{
_members = teamMembers;
RandomTeam = !(bool.TryParse(inviteTeam, out var parsedInviteTeam) && parsedInviteTeam);
RandomTeam = !(bool.TryParse(inviteTeam, out var parsedInviteTeam) && parsedInviteTeam) && teamMembers.Count != 1;
SkillBasedMatchMakingEnabled =
bool.TryParse(skillBasedMatchMakingEnabled, out var parsedSkillBasedMatchMakingEnabled) &&
parsedSkillBasedMatchMakingEnabled;
Expand Down

0 comments on commit 04b72e3

Please sign in to comment.