From ca24e550a81fccc926bbcf019630b0de001f2728 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 1 Dec 2023 11:51:10 +0200 Subject: [PATCH] #1420 Revert undefined name variable resolution --- public/scripts/variables.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/scripts/variables.js b/public/scripts/variables.js index 11ae5f58b..beba8f2fc 100644 --- a/public/scripts/variables.js +++ b/public/scripts/variables.js @@ -95,10 +95,6 @@ function decrementGlobalVariable(name) { * @returns {string} Variable value or the string literal */ export function resolveVariable(name) { - if (name === undefined) { - return ''; - } - if (existsLocalVariable(name)) { return getLocalVariable(name); }