fix deadlife dust display twice in 'add gas' debug menu

This commit is contained in:
NachoToast
2025-03-21 17:25:15 +13:00
parent 083d73d31d
commit d0036e46a4
@@ -1,4 +1,4 @@
// Copyright (c) 2023 bradson // Copyright (c) 2023 bradson
// This Source Code Form is subject to the terms of the Mozilla Public // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this // License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/. // file, You can obtain one at https://mozilla.org/MPL/2.0/.
@@ -500,7 +500,7 @@ public sealed class GasGridOptimization : ClassWithFishPrepatches
{ {
var gasDefs = DefDatabase<GasDef>.AllDefsListForReading; var gasDefs = DefDatabase<GasDef>.AllDefsListForReading;
for (var i = 3; i < gasDefs.Count; i++) for (var i = START_INDEX; i < gasDefs.Count; i++)
{ {
var gasDef = gasDefs[i]; var gasDef = gasDefs[i];