diff --git a/Patches/HudPatch.cs b/Patches/HudPatch.cs index 63e118757..d6af0f8f8 100644 --- a/Patches/HudPatch.cs +++ b/Patches/HudPatch.cs @@ -473,7 +473,9 @@ internal static class HudManagerPatch : $"{AchievementUnlockedText}\n\n{LowerInfoText.text}\n\n\n\n"; } - LowerInfoText.enabled = !string.IsNullOrWhiteSpace(LowerInfoText.text); + bool enabled = !string.IsNullOrWhiteSpace(LowerInfoText.text); + LowerInfoText.enabled = enabled; + LowerInfoText.gameObject.SetActive(enabled); } } diff --git a/Patches/PlayerControlPatch.cs b/Patches/PlayerControlPatch.cs index bb638718e..7c46c46dd 100644 --- a/Patches/PlayerControlPatch.cs +++ b/Patches/PlayerControlPatch.cs @@ -1798,7 +1798,7 @@ internal static class FixedUpdatePatch { SendOption sendOption = SendOption.None; - if (timer.StartTimeStamp + timer.TotalCooldown < now || !alive) + if (timer.StartTimeStamp + timer.TotalCooldown < now || (!alive && !player.HasGhostRole())) { player.RemoveAbilityCD(); sendOption = SendOption.Reliable;