From aebafaae0cafe0352cfee6e2509e3de35361b0d9 Mon Sep 17 00:00:00 2001 From: mxyx0412 Date: Fri, 22 Nov 2024 00:03:21 +0800 Subject: [PATCH] Fix --- TheOtherRoles/Roles/RoleInfo.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TheOtherRoles/Roles/RoleInfo.cs b/TheOtherRoles/Roles/RoleInfo.cs index ab1f940d..1d7fdbe2 100644 --- a/TheOtherRoles/Roles/RoleInfo.cs +++ b/TheOtherRoles/Roles/RoleInfo.cs @@ -343,7 +343,11 @@ public static List 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; }