From d446fb171d278fd6815ec60bbd134479fdc7864e Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 13 Feb 2022 22:41:43 +0100 Subject: DTScopedVars: Add missing CheckScopedVar branch for MapVar() --- DTScopedVars.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'DTScopedVars.c') diff --git a/DTScopedVars.c b/DTScopedVars.c index 3165553..b0ee0fe 100644 --- a/DTScopedVars.c +++ b/DTScopedVars.c @@ -96,6 +96,14 @@ global func CheckScopedVar(array variable) return true; } } + + if(variable[0] == ScopedVar_MapIndex) + { + if(CheckScopedVar(variable[1])) + { + return true; + } + } } if(this) -- cgit v1.2.3-54-g00ecf