summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/hover/init.lua')
-rw-r--r--script-beta/core/hover/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script-beta/core/hover/init.lua b/script-beta/core/hover/init.lua
index 6436169a..92197ab6 100644
--- a/script-beta/core/hover/init.lua
+++ b/script-beta/core/hover/init.lua
@@ -28,11 +28,13 @@ local function getHoverAsFunction(source)
protos = protos + 1
end
end
+ desc = desc or getDesc(value)
elseif value.type == 'table'
or value.type == 'boolean'
or value.type == 'string'
or value.type == 'number' then
other = other + 1
+ desc = desc or getDesc(value)
end
end