Skip to content

Commit

Permalink
Got this backwards
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Jun 28, 2024
1 parent 84c1540 commit c5b0e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Psionics/Glimmer/GlimmerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed class GlimmerSystem : EntitySystem
public float GlimmerInput
{
get { return _glimmerInput; }
private set { _glimmerInput = _enabled ? Math.Min(value, 0) : 0; }
private set { _glimmerInput = _enabled ? Math.Max(value, 0) : 0; }
}
private float _glimmerOutput = 0;

Expand All @@ -36,7 +36,7 @@ public float GlimmerInput
public float GlimmerOutput
{
get { return _glimmerOutput; }
private set { _glimmerOutput = _enabled ? Math.Min(value, 0) : 0; }
private set { _glimmerOutput = _enabled ? Math.Max(value, 0) : 0; }
}
private bool _enabled;
public override void Initialize()
Expand Down

0 comments on commit c5b0e49

Please sign in to comment.