From 375881188205793b1401b522248195e27be2f0bc Mon Sep 17 00:00:00 2001 From: Aristeas <94058548+Jnick-24@users.noreply.github.com> Date: Tue, 6 Aug 2024 16:49:55 -0500 Subject: [PATCH] Update GridAssemblyLogic.cs --- .../AssemblyScripts/AssemblyComponents/GridAssemblyLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/AssemblyScripts/AssemblyComponents/GridAssemblyLogic.cs b/Data/Scripts/AssemblyScripts/AssemblyComponents/GridAssemblyLogic.cs index 3bb2d4a..383ac6d 100644 --- a/Data/Scripts/AssemblyScripts/AssemblyComponents/GridAssemblyLogic.cs +++ b/Data/Scripts/AssemblyScripts/AssemblyComponents/GridAssemblyLogic.cs @@ -193,7 +193,7 @@ public override bool IsSerialized() { try { - if (grid?.Physics == null) + if (grid?.Physics == null || grid.Storage == null) return base.IsSerialized(); var serialized = AssemblySerializer.SerializeGrid(grid);