diff --git a/IDE/src/ScriptManager.bf b/IDE/src/ScriptManager.bf index 5ad7ca16..5407cfbf 100644 --- a/IDE/src/ScriptManager.bf +++ b/IDE/src/ScriptManager.bf @@ -1004,6 +1004,13 @@ namespace IDE if (!gApp.[Friend]mExecutionInstances.IsEmpty) return false; + if (!gApp.[Friend]mExecutionQueue.IsEmpty) + { + var nextCmd = gApp.mExecutionQueue[0]; + if (!(nextCmd is IDEApp.TargetCompletedCmd)) + return false; + } + if (gApp.mDebugger == null) return true;