mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +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) {
|
for (const executor of this.executorList) {
|
||||||
this.onProgress?.(done, this.commandCount);
|
this.onProgress?.(done, this.commandCount);
|
||||||
this.debugController?.setExecutor(executor);
|
this.debugController?.setExecutor(executor);
|
||||||
|
this.debugController.namedArguments = undefined;
|
||||||
|
this.debugController.unnamedArguments = undefined;
|
||||||
yield executor;
|
yield executor;
|
||||||
/**@type {import('./SlashCommand.js').NamedArguments} */
|
/**@type {import('./SlashCommand.js').NamedArguments} */
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user