From c93f0f9c27e4a6d136288fcce5f8e199ee3d8758 Mon Sep 17 00:00:00 2001 From: NachoToast <32235595+NachoToast@users.noreply.github.com> Date: Wed, 19 Mar 2025 16:17:25 +1300 Subject: [PATCH] increase start index in custom gas drawing loop --- Source/PerformanceFish/GasGridOptimization.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/PerformanceFish/GasGridOptimization.cs b/Source/PerformanceFish/GasGridOptimization.cs index 0605bf8..a602517 100644 --- a/Source/PerformanceFish/GasGridOptimization.cs +++ b/Source/PerformanceFish/GasGridOptimization.cs @@ -550,7 +550,7 @@ public sealed class GasGridOptimization : ClassWithFishPrepatches var gasGrids = map.gasGrid.ParallelGasGrids(); var cellIndex = new CellIndex(cell, map); - for (var i = 3; i < gasGrids.Length; i++) + for (var i = 4; i < gasGrids.Length; i++) { var gasGrid = gasGrids[i]; if (!gasGrid.AnyGasAt(cellIndex))