Fix storage state (#23852)

slughands
This commit is contained in:
metalgearsloth
2024-01-10 20:07:35 +11:00
committed by GitHub
parent 51a2b365cf
commit 24f8da8f0c

View File

@@ -107,7 +107,7 @@ public abstract class SharedStorageSystem : EntitySystem
args.State = new StorageComponentState() args.State = new StorageComponentState()
{ {
Grid = component.Grid, Grid = new List<Box2i>(component.Grid),
IsUiOpen = component.IsUiOpen, IsUiOpen = component.IsUiOpen,
MaxItemSize = component.MaxItemSize, MaxItemSize = component.MaxItemSize,
StoredItems = storedItems StoredItems = storedItems