mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix step while inside subscope
This commit is contained in:
@ -51,7 +51,7 @@ export class SlashCommandDebugController {
|
||||
this.stepStack.forEach((_,idx)=>this.stepStack[idx] = false);
|
||||
}
|
||||
step() {
|
||||
this.stepStack[this.stepStack.length - 1] = true;
|
||||
this.stepStack.forEach((_,idx)=>this.stepStack[idx] = true);
|
||||
this.continueResolver?.(true);
|
||||
this.continuePromise = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user