diff --git a/hscript/Interp.hx b/hscript/Interp.hx index d14c01b..35a0fca 100644 --- a/hscript/Interp.hx +++ b/hscript/Interp.hx @@ -53,8 +53,10 @@ class Interp { public function new() { #if haxe3 variables = new Map(); + locals = new Map(); #else variables = new Hash(); + locals = new Hash(); #end variables.set("null",null); variables.set("true",true);