From 63e88bc016466534391a4d532b5162c41781a6af Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Tue, 16 Apr 2024 16:46:47 -0400 Subject: [PATCH] fix macros in scope copy --- public/scripts/slash-commands/SlashCommandScope.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands/SlashCommandScope.js b/public/scripts/slash-commands/SlashCommandScope.js index c555c51e5..c9378be29 100644 --- a/public/scripts/slash-commands/SlashCommandScope.js +++ b/public/scripts/slash-commands/SlashCommandScope.js @@ -29,7 +29,7 @@ export class SlashCommandScope { const scope = new SlashCommandScope(this.parent); scope.variableNames = [...this.variableNames]; scope.variables = Object.assign({}, this.variables); - scope.macros = this.macros; + scope.macros = Object.assign({}, this.macros); scope.#pipe = this.#pipe; return scope; }