]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix storage state (#23852)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Wed, 10 Jan 2024 09:07:35 +0000 (20:07 +1100)
committerGitHub <noreply@github.com>
Wed, 10 Jan 2024 09:07:35 +0000 (02:07 -0700)
slughands

Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs

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