Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mxyx0412 committed Nov 21, 2024
1 parent c8299a0 commit aebafaa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion TheOtherRoles/Roles/RoleInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,11 @@ public static List<RoleInfo> getRoleInfoForPlayer(PlayerControl p, bool showModi
if (Pursuer.pursuer.Any(x => x.PlayerId == p.PlayerId)) infos.Add(pursuer);
if (Survivor.survivor.Any(x => x.PlayerId == p.PlayerId)) infos.Add(survivor);

// Default roles (just impostor, just crewmate, or hunter / hunted for hide n seek, prop hunt prop ...
if (infos.Count == count)
{
if (p.Data.Role.IsImpostor) infos.Add(impostor);
else infos.Add(crewmate);
}
return infos;
}

Expand Down

0 comments on commit aebafaa

Please sign in to comment.