Save Gamestate

master
j 2024-04-06 02:03:29 -04:00
parent a3691b3235
commit 98636d494a
1 changed files with 1 additions and 0 deletions

View File

@ -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);