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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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