Save Gamestate
parent
a3691b3235
commit
98636d494a
|
@ -17,6 +17,7 @@ class WorkflowOrchestrator {
|
|||
const gameState = await GameState.load(comment)
|
||||
const gameFlow = new GameFlow(gameState)
|
||||
await gameFlow.executeCurrentPhase(parsedComment.command)
|
||||
await gameState.save()
|
||||
|
||||
} catch (error) {
|
||||
console.error('An error occurred during workflow execution:', error);
|
||||
|
|
Loading…
Reference in New Issue