From c6ce479c579f0dce99cd86b1fc5616f7607407a1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 10 May 2019 16:08:01 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E3=81=AE?= =?UTF-8?q?=E3=83=AA=E3=82=B9=E3=83=88=E5=86=85=E3=81=A7=E5=A4=89=E6=95=B0?= =?UTF-8?q?=E5=9F=8B=E3=82=81=E8=BE=BC=E3=81=BF=E3=81=A7=E3=81=8D=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/misc/aiscript/evaluator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/aiscript/evaluator.ts b/src/misc/aiscript/evaluator.ts index 664e0037a..541d4e4c6 100644 --- a/src/misc/aiscript/evaluator.ts +++ b/src/misc/aiscript/evaluator.ts @@ -105,7 +105,7 @@ export class ASEvaluator { } if (block.type === 'textList') { - return block.value.trim().split('\n'); + return this.interpolate(block.value || '', scope).trim().split('\n'); } if (block.type === 'ref') {