From da4f41da1985ced4fadf59c28edc12d8f4652a29 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 29 Apr 2019 11:00:41 +0900 Subject: [PATCH] Fix bug --- src/client/app/common/scripts/aiscript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/common/scripts/aiscript.ts b/src/client/app/common/scripts/aiscript.ts index 4ef21f994..aea89ff9a 100644 --- a/src/client/app/common/scripts/aiscript.ts +++ b/src/client/app/common/scripts/aiscript.ts @@ -445,7 +445,7 @@ export class AiScript { } if (AiScript.envVarsDef[name]) { - return this.envVars[name].value; + return this.envVars[name]; } throw new Error(`Script: No such variable '${name}'`);