diff --git a/Content.Shared/Psionics/Glimmer/GlimmerSystem.cs b/Content.Shared/Psionics/Glimmer/GlimmerSystem.cs index 52e14a0747b..9f924ad9a26 100644 --- a/Content.Shared/Psionics/Glimmer/GlimmerSystem.cs +++ b/Content.Shared/Psionics/Glimmer/GlimmerSystem.cs @@ -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; @@ -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()