Fix notice board storage fill visuals (#24569)

This commit is contained in:
themias 2024-01-25 20:03:01 -05:00 committed by GitHub
parent e4f02c26c2
commit a304e8eda2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public sealed class StorageFillVisualizerSystem : EntitySystem
if (!_appearance.TryGetData<int>(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);
}
}