diff --git a/BetterOtherRoles/Patches/PlayerControlPatch.cs b/BetterOtherRoles/Patches/PlayerControlPatch.cs index 3a91c18..7538818 100644 --- a/BetterOtherRoles/Patches/PlayerControlPatch.cs +++ b/BetterOtherRoles/Patches/PlayerControlPatch.cs @@ -427,7 +427,7 @@ static void engineerUpdate() { } static void impostorSetTarget() { - if (!CachedPlayer.LocalPlayer.Data.Role.IsImpostor ||!CachedPlayer.LocalPlayer.PlayerControl.CanMove || CachedPlayer.LocalPlayer.Data.IsDead) { // !isImpostor || !canMove || isDead + if (!CachedPlayer.LocalPlayer.Data.Role.IsImpostor || !CachedPlayer.LocalPlayer.PlayerControl.CanMove || CachedPlayer.LocalPlayer.Data.IsDead || (CachedPlayer.LocalPlayer.PlayerControl == Undertaker.Player && Undertaker.DraggedBody != null)) { // !isImpostor || !canMove || isDead FastDestroyableSingleton.Instance.KillButton.SetTarget(null); return; }