mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
refactor: remove single-owner helpers and redundant plumbing
Return feature-only helpers to their owners, remove inactive scaffolding and duplicate state, and reuse existing calculation and UI work without changing public contracts or gameplay. Record repository-wide coverage, justified retentions, independent reviews and validation, including baseline dashboard fixture failures. Assisted-by: Cindy (https://cindy.app)
This commit is contained in:
1 parent
325536fc79
commit
ba2648a3e3
60 files changed
+1094
-994
No files matched your search
@@ -17,7 +17,7 @@ internal static class TechUnlock
|
||||
{
|
||||
// Mirrors the built-in maxLevel argument: "to MAX" passes the default, the other combinations
|
||||
// pass -(steps) so the loop advances exactly `steps` levels.
|
||||
int maxLevel = steps == TechKeyCombo.LevelToMax ? 10000 : -steps;
|
||||
int maxLevel = steps == int.MaxValue ? 10000 : -steps;
|
||||
|
||||
UnlockTechRecursive(history, techProto, maxLevel);
|
||||
|
||||
|
||||
Reference in new issue
Block a user