mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add missing scopeIndex entries
fixes missing scoped vars in /: auto complete
This commit is contained in:
@ -707,6 +707,7 @@ export class SlashCommandParser {
|
|||||||
this.take('/breakpoint'.length);
|
this.take('/breakpoint'.length);
|
||||||
cmd.end = this.index;
|
cmd.end = this.index;
|
||||||
this.commandIndex.push(cmd);
|
this.commandIndex.push(cmd);
|
||||||
|
this.scopeIndex.push(this.scope.getCopy());
|
||||||
return cmd;
|
return cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -721,6 +722,7 @@ export class SlashCommandParser {
|
|||||||
this.take('/break'.length);
|
this.take('/break'.length);
|
||||||
cmd.end = this.index;
|
cmd.end = this.index;
|
||||||
this.commandIndex.push(cmd);
|
this.commandIndex.push(cmd);
|
||||||
|
this.scopeIndex.push(this.scope.getCopy());
|
||||||
return cmd;
|
return cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user