fix: clear autoPaused flag when deactivating discipline
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m2s

This commit is contained in:
2026-06-11 09:08:43 +02:00
parent 512fea8e31
commit 2d9f0042ef
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Circular Dependencies # Circular Dependencies
Generated: 2026-06-11T07:03:04.914Z Generated: 2026-06-11T07:06:06.140Z
Found: 3 circular chain(s) — these MUST be fixed before modifying involved files. Found: 3 circular chain(s) — these MUST be fixed before modifying involved files.
1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts 1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"_meta": { "_meta": {
"generated": "2026-06-11T07:03:02.837Z", "generated": "2026-06-11T07:06:04.118Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.", "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." "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 -1
View File
@@ -156,7 +156,7 @@ export const useDisciplineStore = create<DisciplineStore>()(
return { return {
activeIds: newActiveIds, activeIds: newActiveIds,
disciplines: s.disciplines[id] disciplines: s.disciplines[id]
? { ...s.disciplines, [id]: { ...s.disciplines[id], paused: true } } ? { ...s.disciplines, [id]: { ...s.disciplines[id], paused: true, autoPaused: false } }
: s.disciplines, : s.disciplines,
}; };
}); });