mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix
This commit is contained in:
1 parent
6d01c3655c
commit
83c81a10e3
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user