From 04b72e39d0beeec7e94766b1035f9420823060f7 Mon Sep 17 00:00:00 2001 From: Slim Debug Date: Sat, 14 May 2022 17:25:30 +0200 Subject: [PATCH] fixed a bug that showed solos as random team --- HuntMmrReader/Models/HuntTeam.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HuntMmrReader/Models/HuntTeam.cs b/HuntMmrReader/Models/HuntTeam.cs index 0083002..ed25c25 100644 --- a/HuntMmrReader/Models/HuntTeam.cs +++ b/HuntMmrReader/Models/HuntTeam.cs @@ -21,7 +21,7 @@ internal HuntTeam(string? mmr, ushort id, string? inviteTeam, string? skillBased List 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;