diff --git a/Modules/ExtendedPlayerControl.cs b/Modules/ExtendedPlayerControl.cs index 6861d5ccc..c396153f1 100644 --- a/Modules/ExtendedPlayerControl.cs +++ b/Modules/ExtendedPlayerControl.cs @@ -1502,7 +1502,7 @@ internal static class ExtendedPlayerControl return Options.CurrentGameMode switch { CustomGameMode.SoloPVP => SoloPVP.CanVent, - CustomGameMode.FFA => !(FreeForAll.FFADisableVentingWhenKcdIsUp.GetBool() && Main.KillTimers[pc.PlayerId] <= 0) && !(FreeForAll.FFADisableVentingWhenTwoPlayersAlive.GetBool() && Main.AllAlivePlayerControls.Count <= 2), + CustomGameMode.FFA => !(FreeForAll.FFADisableVentingWhenKcdIsUp.GetBool() && Main.KillTimers.GetValueOrDefault(pc.PlayerId) <= 0) && !(FreeForAll.FFADisableVentingWhenTwoPlayersAlive.GetBool() && Main.AllAlivePlayerControls.Count <= 2), CustomGameMode.StopAndGo => false, CustomGameMode.HotPotato => false, CustomGameMode.Speedrun => false, diff --git a/Patches/IntroPatch.cs b/Patches/IntroPatch.cs index cbbe54fe0..f323ab618 100644 --- a/Patches/IntroPatch.cs +++ b/Patches/IntroPatch.cs @@ -1318,9 +1318,6 @@ internal static class IntroCutsceneDestroyPatch case CustomGameMode.Standard: Blessed.AfterMeetingTasks(); break; - case CustomGameMode.FFA: - LateTask.New(() => Main.EnumerateAlivePlayerControls().Do(x => x.RpcSetRoleDesync(RoleTypes.Impostor, x.OwnerId)), 6f); - break; case CustomGameMode.KingOfTheZones: Main.Instance.StartCoroutine(KingOfTheZones.GameStart()); break;