mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 09:07:27 +00:00
Fix notice board storage fill visuals (#24569)
(cherry picked from commit a304e8eda2)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user