mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
more support for v18.0
This commit is contained in:
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())
|
||||
|
||||
Reference in new issue
Block a user