fix flaws

This commit is contained in:
Gurge44 committed 2026-01-15 13:57:35 +01:00
1 parent ef8f0e1337
commit 3c0b86ab14
11 files changed
+83 -45

No files matched your search

@@ -594,7 +594,7 @@ public sealed class PlayerGameOptionsSender(PlayerControl player) : GameOptionsS
}
state.TaskState.HasTasks = Utils.HasTasks(player.Data, false);
if (Options.GhostCanSeeOtherVotes.GetBool() && player.Data.IsDead) opt.SetBool(BoolOptionNames.AnonymousVotes, false);
if (Options.GhostCanSeeOtherVotes.GetBool() && !player.IsAlive()) opt.SetBool(BoolOptionNames.AnonymousVotes, false);
if (Options.AdditionalEmergencyCooldown.GetBool() &&
Options.AdditionalEmergencyCooldownThreshold.GetInt() <= Utils.AllAlivePlayersCount)