summaryrefslogtreecommitdiff
path: root/server/src/core/hover_function.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/hover_function.lua')
-rw-r--r--server/src/core/hover_function.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/hover_function.lua b/server/src/core/hover_function.lua
index 1b313f55..6be90b06 100644
--- a/server/src/core/hover_function.lua
+++ b/server/src/core/hover_function.lua
@@ -26,7 +26,7 @@ local function buildValueArgs(func, object, select)
end
end
local max
- if func.built then
+ if func.source then
max = #names
else
max = math.max(#names, #values)