OSDN Git Service

Attempt to fix crash with threading on Metadata clean
authormelchior <melchior@users.osdn.me>
Sat, 7 Nov 2020 20:21:01 +0000 (15:21 -0500)
committermelchior <melchior@users.osdn.me>
Sat, 7 Nov 2020 20:21:01 +0000 (15:21 -0500)
Automap/Data/ColumnMeta.cs

index f1e9681..4652644 100644 (file)
@@ -136,7 +136,7 @@ namespace Automap
 
                //Start fresh...
                HeightMap = new ushort[ChunkSize, ChunkSize]; 
-               RockRatio = new Dictionary<int, uint>(this.RockRatio.Count);
+               RockRatio = new Dictionary<int, uint>(10);
                AirBlocks = 0;
                NonAirBlocks = 0;
                YMax = 0;