mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-08-05 21:30:18 +08:00
refactor(UXAssist): replace magic numbers with constants
This commit is contained in:
@@ -281,7 +281,7 @@ public static class TechFunctions
|
||||
var history = GameMain.data?.history;
|
||||
if (history == null) return;
|
||||
history.inserterStackCountObsolete = 1;
|
||||
for (var id = 3301; id <= 3305; id++)
|
||||
for (var id = global::UXAssist.Common.GameConstants.TechIds.SorterCargoStackingCustomStart; id <= global::UXAssist.Common.GameConstants.TechIds.SorterCargoStackingCustomEnd - 1; id++)
|
||||
{
|
||||
history.techStates.TryGetValue(id, out var state);
|
||||
if (!state.unlocked) continue;
|
||||
|
||||
Reference in New Issue
Block a user