summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/hover/label.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua
index 8224e9d3..f19bca10 100644
--- a/script/core/hover/label.lua
+++ b/script/core/hover/label.lua
@@ -180,7 +180,7 @@ local function asNumber(source)
if not text then
return nil
end
- local raw = text:sub(source.start, source.finish)
+ local raw = text:sub(source.start + 1, source.finish)
if not raw or not raw:find '[^%-%d%.]' then
return nil
end