Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
Fix issue with NewUpdateFixes
  • Loading branch information
Vretu-Dev authored Sep 25, 2024
1 parent d3c14c4 commit 4252a53
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions AdrenalinRush/AdrenalinRush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class AdrenalinRush : Plugin<Config>
public override string Name => "Adrenalin Rush";
public override string Author => "Vretu";
public override string Prefix { get; } = "AR";
public override Version Version => new Version(1, 0, 3);
public override Version Version => new Version(1, 0, 4);
public override Version RequiredExiledVersion { get; } = new Version(8, 9, 8);

public override void OnEnabled()
Expand All @@ -37,14 +37,6 @@ private void OnUsedItem(UsedItemEventArgs ev)
Timing.RunCoroutine(ApplySmoothBoost(ev.Player));
}
}
else if (ev.Item.Type == ItemType.SCP207)
{
// Jeśli gracz ma efekt Adrenaliny, usuń go zanim nałożony zostanie SCP-207
if (ev.Player.IsEffectActive<MovementBoost>())
{
ev.Player.DisableEffect(EffectType.MovementBoost);
}
}
}
private IEnumerator<float> ApplySmoothBoost(Player player)
{
Expand Down

0 comments on commit 4252a53

Please sign in to comment.