more support for v18.0

This commit is contained in:
Gurge44 committed 2026-08-21 16:05:40 +02:00
1 parent 89139ff9b8
commit e71fd450ff
50 files changed
+326 -133

No files matched your search

@@ -644,6 +644,9 @@ public sealed class PlayerGameOptionsSender(PlayerControl player) : GameOptionsS
AURoleOptions.JudgeTaskRequirementPercentage = CrewmateVanillaRoles.JudgeTaskRequirementPercentage.GetFloat();
break;
}
if (player.UsesJudgeAbilityAsTrigger())
AURoleOptions.JudgeTaskRequirementPercentage = 0f;
// When impostor alert is off, and the player is a desync crewmate, set impostor alert as true
if (role.IsDesyncRole() && role.IsCrewmate() && !CrewmateVanillaRoles.NoiseMakerImpostorAlert.GetBool())