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

Commit

Permalink
Merge pull request #1 from slimDebug/develop
Browse files Browse the repository at this point in the history
fixed a bug that showed solos as random team
  • Loading branch information
slimDebug authored May 14, 2022
2 parents 8d3e04a + 04b72e3 commit 8a87abb
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 8a87abb

Please sign in to comment.