From a304e8eda274b8aceb6626d2ef3658e407d8130b Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 25 Jan 2024 20:03:01 -0500 Subject: [PATCH] Fix notice board storage fill visuals (#24569) --- .../Storage/EntitySystems/StorageFillVisualizerSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.51.2