mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 09:26:33 +01:00
fix DebugController retaining previous named and unnamed args
This commit is contained in:
parent
8cb31d2f7b
commit
971f2cacb9
@ -272,6 +272,8 @@ export class SlashCommandClosure {
|
||||
for (const executor of this.executorList) {
|
||||
this.onProgress?.(done, this.commandCount);
|
||||
this.debugController?.setExecutor(executor);
|
||||
this.debugController.namedArguments = undefined;
|
||||
this.debugController.unnamedArguments = undefined;
|
||||
yield executor;
|
||||
/**@type {import('./SlashCommand.js').NamedArguments} */
|
||||
// @ts-ignore
|
||||
|
Loading…
Reference in New Issue
Block a user