summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/core/hover/table.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/script-beta/core/hover/table.lua b/script-beta/core/hover/table.lua
index ca9ade14..0e0fe70f 100644
--- a/script-beta/core/hover/table.lua
+++ b/script-beta/core/hover/table.lua
@@ -118,15 +118,14 @@ local function clearClasses(classes)
local anyClasses = {}
local strClasses = {}
for key, class in pairs(classes) do
- if key:sub(1, 1) ~= '[' then
- util.array2hash(class, knownClasses)
- elseif key == '[any]' then
+ if key == '[any]' then
util.array2hash(class, anyClasses)
goto CONTINUE
elseif key == '[string]' then
util.array2hash(class, strClasses)
goto CONTINUE
end
+ util.array2hash(class, knownClasses)
::CONTINUE::
end
for c in pairs(knownClasses) do