diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts b/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts index 9e279db75..584ec4c9f 100644 --- a/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts +++ b/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts @@ -1311,7 +1311,7 @@ export function useUiEditorSession( } async function restartSeparation() { - if (!resourceId) return; + if (!resourceId || isSeparating || isWorkflowBusy) return; setSeparationRecovery(null); const prerequisiteIssues = prerequisiteIssuesForStep( editor.state,