static void Postfix(ref PlayerControl __instance) { __instance.Data.IsImpostor = trueImpost; if (IsSheriff(__instance.PlayerId)) { PlayerControl_FixedUpdate.SetSheriffKillTimer(__instance, CustomGameOptionsData.customGameOptions.sheriffKillCd.value); } }
static void Postfix() { if (DestroyableSingleton <TutorialManager> .InstanceExists || !ShipStatus.Instance.IsGameOverDueToDeath()) { if (IsSheriff(PlayerControl.LocalPlayer.PlayerId) && !PlayerControl.LocalPlayer.Data.IsDead) { PlayerControl_FixedUpdate.SetSheriffKillTimer(PlayerControl.LocalPlayer, CustomGameOptionsData.customGameOptions.sheriffKillCd.value); } } }
static void Postfix() { PlayerControl_FixedUpdate.SetSheriffKillTimer(PlayerControl.LocalPlayer, 10f); // FIXED: ability to kill on intro scene }