mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fixes
This commit is contained in:
1 parent
f5cb6ab6e1
commit
4954d01467
6 files changed
+14
-124
No files matched your search
@@ -724,7 +724,7 @@ public sealed class PlayerGameOptionsSender(PlayerControl player) : GameOptionsS
|
||||
|
||||
bool energeticIncreaseSpeed = false, energeticDecreaseCooldown = false;
|
||||
|
||||
if (state.SubRoles.Contains(CustomRoles.Energetic) || Empress.Encouraged.Contains(player.PlayerId))
|
||||
if (state.SubRoles.Contains(CustomRoles.Energetic) || (Empress.Encouraged != null && Empress.Encouraged.Contains(player.PlayerId)))
|
||||
{
|
||||
if (player.CanUseKillButton())
|
||||
energeticDecreaseCooldown = true;
|
||||
|
||||
Reference in new issue
Block a user