mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
Fix imps and crew being shown twice in view pane
This commit is contained in:
1 parent
1fd2dd3539
commit
7e3a279b56
1 file changed
+2
-1
@@ -186,7 +186,8 @@ public static class LobbyViewPanePatches
|
||||
num -= 0.696f;
|
||||
var roles = RoleManager.Instance.AllRoles.ToArray().Where(x =>
|
||||
x is not ICustomRole && !x.IsRoleBlacklisted() && x.Role != RoleTypes.Crewmate &&
|
||||
x.Role != RoleTypes.Impostor &&
|
||||
x.Role != RoleTypes.Impostor && ((i == 0 && x.TeamType is RoleTeamTypes.Crewmate) ||
|
||||
(i == 1 && x.TeamType is RoleTeamTypes.Impostor)) &&
|
||||
x.Role != RoleTypes.CrewmateGhost && x.Role != RoleTypes.ImpostorGhost).ToList();
|
||||
for (int j = 0; j < roles.Count; j++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user