From: themias <89101928+themias@users.noreply.github.com> Date: Fri, 26 Jan 2024 01:03:01 +0000 (-0500) Subject: Fix notice board storage fill visuals (#24569) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a304e8eda274b8aceb6626d2ef3658e407d8130b;p=space-station-14.git Fix notice board storage fill visuals (#24569) --- diff --git a/Content.Server/Storage/EntitySystems/StorageFillVisualizerSystem.cs b/Content.Server/Storage/EntitySystems/StorageFillVisualizerSystem.cs index 01ed9a13dc..04894461ed 100644 --- a/Content.Server/Storage/EntitySystems/StorageFillVisualizerSystem.cs +++ b/Content.Server/Storage/EntitySystems/StorageFillVisualizerSystem.cs @@ -47,7 +47,7 @@ public sealed class StorageFillVisualizerSystem : EntitySystem if (!_appearance.TryGetData(uid, StorageVisuals.Capacity, out var capacity, appearance)) return; - var level = ContentHelpers.RoundToEqualLevels(used, capacity, component.MaxFillLevels); + var level = ContentHelpers.RoundToLevels(used, capacity, component.MaxFillLevels); _appearance.SetData(uid, StorageFillVisuals.FillLevel, level, appearance); } }