fix: pass rawMana to activate() in DisciplinesTab to allow discipline reactivation after stop
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s

This commit is contained in:
2026-06-09 09:59:48 +02:00
parent e45c206321
commit 42053f41ac
5 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export interface DisciplineStoreState {
}
export interface DisciplineStoreActions {
activate: (id: string, gameState?: { elements?: Record<string, ElementState>; signedPacts?: number[] }) => void;
activate: (id: string, gameState?: { elements?: Record<string, ElementState>; rawMana?: number; signedPacts?: number[] }) => void;
deactivate: (id: string) => void;
processTick: (mana: { rawMana: number; elements: Record<string, ElementState> }) => {
rawMana: number;