From b6fefa81bbba986aab59cd5221673e11083213ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 9 Dec 2019 19:22:12 +0800 Subject: =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/vm/getValue.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script-beta/vm') diff --git a/script-beta/vm/getValue.lua b/script-beta/vm/getValue.lua index a93ed6e9..a1f42da1 100644 --- a/script-beta/vm/getValue.lua +++ b/script-beta/vm/getValue.lua @@ -870,7 +870,7 @@ function vm.viewType(values) local types = {} for i = 1, #values do local tp = values[i].type - if not types[tp] and tp ~= 'any' then + if tp and not types[tp] and tp ~= 'any' then types[tp] = true types[#types+1] = tp end -- cgit v1.2.3