more fixes

This commit is contained in:
Gurge44 committed 2025-09-27 19:45:30 +02:00
1 parent 060866c519
commit dcf2e65448
6 files changed
+111 -82

No files matched your search

+2
View File
@@ -141,6 +141,8 @@ internal static class CustomRoleSelector
readyImpNum += 2;
readyRoleNum++;
}
else
roles[RoleAssignType.Impostor].RemoveAll(x => x.Role == CustomRoles.Loner);
loversData.OneIsImp &= roles[RoleAssignType.Impostor].Count(x => x.SpawnChance == 100) < optImpNum;