fix: multiple bug fixes - infinite loop crash, enchant tick handlers, discipline crash, Plasma symbol, desync
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m24s

- #236: Fix Climb the Spire React #185 infinite loop - removed redundant set() in processCombatTick that caused double Zustand writes per tick
- #235: Add enchanting design/prepare/apply tick handlers - extracted to pipelines/enchanting-tick.ts
- #235: Fix startApplying not setting currentAction to 'enchant'
- #243: Guard discipline store against undefined activeIds/processedPerks from corrupted persisted state
- #245: Change Plasma symbol from  (conflicts with Lightning) to 🔴
- #241: Fix combat store maxFloorReached desync - initialize to 0, reset on exitSpireMode
- #239: Fix EffectSelector not rendering when unlockedEffects is empty (fresh game)
- Created pipelines/enchanting-tick.ts to keep gameStore.ts under 400 lines
This commit is contained in:
2026-06-01 12:57:52 +02:00
parent 2539559edc
commit 7dd9ad5b92
11 changed files with 213 additions and 21 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Circular Dependencies
Generated: 2026-06-01T07:54:15.106Z
Generated: 2026-06-01T09:05:01.898Z
No circular dependencies found. ✅
+1 -1
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-06-01T07:54:13.158Z",
"generated": "2026-06-01T09:04:59.927Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
},
+1
View File
@@ -329,6 +329,7 @@ Mana-Loop/
│ │ │ ├── stores/
│ │ │ │ ├── pipelines/
│ │ │ │ │ ├── combat-tick.ts
│ │ │ │ │ ├── enchanting-tick.ts
│ │ │ │ │ ├── equipment-crafting.ts
│ │ │ │ │ └── pact-ritual.ts
│ │ │ │ ├── attunementStore.ts