From 624ee76e71b0539cb24436d1e00c3745574147b0 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 4ef21f9943..aea89ff9a3 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}'`);