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

use original game's consts

This commit is contained in:
2025-06-03 18:55:38 +08:00
parent 4ba1512205
commit cb3975ae1a
3 changed files with 21 additions and 21 deletions

View File

@@ -173,7 +173,7 @@ public class DysonSpherePatch: PatchImpl<DysonSpherePatch>
{
lock (productRegister)
{
productRegister[11902] += todoCount - count;
productRegister[ProductionStatistics.DYSON_STRUCTURE_ID] += todoCount - count;
}
}
}
@@ -213,8 +213,8 @@ public class DysonSpherePatch: PatchImpl<DysonSpherePatch>
{
lock (productRegister)
{
productRegister[11901] += solarSailCount;
productRegister[11903] += solarSailCount;
productRegister[ProductionStatistics.SOLAR_SAIL_ID] += solarSailCount;
productRegister[ProductionStatistics.DYSON_CELL_ID] += solarSailCount;
}
}
var consumeRegister = __instance.consumeRegister;
@@ -222,7 +222,7 @@ public class DysonSpherePatch: PatchImpl<DysonSpherePatch>
{
lock (consumeRegister)
{
consumeRegister[11901] += solarSailCount;
consumeRegister[ProductionStatistics.SOLAR_SAIL_ID] += solarSailCount;
}
}
}