mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix macros in scope copy
This commit is contained in:
@ -29,7 +29,7 @@ export class SlashCommandScope {
|
|||||||
const scope = new SlashCommandScope(this.parent);
|
const scope = new SlashCommandScope(this.parent);
|
||||||
scope.variableNames = [...this.variableNames];
|
scope.variableNames = [...this.variableNames];
|
||||||
scope.variables = Object.assign({}, this.variables);
|
scope.variables = Object.assign({}, this.variables);
|
||||||
scope.macros = this.macros;
|
scope.macros = Object.assign({}, this.macros);
|
||||||
scope.#pipe = this.#pipe;
|
scope.#pipe = this.#pipe;
|
||||||
return scope;
|
return scope;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user