summaryrefslogtreecommitdiff
path: root/script-beta/vm/getValue.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/vm/getValue.lua')
-rw-r--r--script-beta/vm/getValue.lua2
1 files changed, 1 insertions, 1 deletions
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