1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-08 20:53:28 +08:00

code cleanup

This commit is contained in:
2023-12-14 21:52:35 +08:00
parent aa5d8a2454
commit 51f35bb573
28 changed files with 318 additions and 466 deletions

View File

@@ -363,7 +363,7 @@ public class LogisticMiner : BaseUnityPlugin
}
else
{
_veins.Add(productId, new List<int> { i });
_veins.Add(productId, [i]);
}
if (vg.TryGetValue(productId, out var hs))
@@ -372,7 +372,7 @@ public class LogisticMiner : BaseUnityPlugin
}
else
{
vg.Add(productId, new HashSet<int> { veinPool[i].groupIndex });
vg.Add(productId, [veinPool[i].groupIndex]);
}
}