Skip to content

Commit

Permalink
Fix effect duration overrides not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordmau5 committed Jan 18, 2023
1 parent 71c5545 commit 8fc9ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GTAChaos/src/effects/abstract/AbstractEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public int GetDuration(int duration = -1)

if (this.Duration != -1)
{
duration = Math.Min(Config.GetEffectDuration(), this.Duration);
duration = this.Duration;
}
else
{
Expand Down

0 comments on commit 8fc9ee1

Please sign in to comment.