This commit is contained in:
Gurge44 committed 2026-06-12 13:35:58 +02:00
1 parent 6d01c3655c
commit 83c81a10e3
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -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);
}
}
+1 -1
View File
@@ -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;