From a89120188e3f85d048ca9c2b415e134d574e65e2 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sun, 7 Aug 2022 22:46:01 -0500 Subject: [PATCH] Schematic size upper bound increase --- Schematics/CalamitySchematicIO.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Schematics/CalamitySchematicIO.cs b/Schematics/CalamitySchematicIO.cs index 74918c8183..c3f0fed6bb 100644 --- a/Schematics/CalamitySchematicIO.cs +++ b/Schematics/CalamitySchematicIO.cs @@ -179,8 +179,8 @@ namespace CalamityMod.Schematics public static class CalamitySchematicIO { - // A generous buffer of 1 megabyte is the default for schematics. If this somehow isn't big enough, they can get bigger. - private const int SchematicBufferStartingSize = 1048576; + // A generous buffer of 16 megabytes is the default for schematics. If this somehow isn't big enough, they can get bigger. + private const int SchematicBufferStartingSize = 16777216; // If true, written schematics will have all data GZip compressed except for the magic number header. public static bool UseCompression = true;