summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 4ce41963..e2efd22f 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -3290,9 +3290,6 @@ local function mathCheck(status, a, b)
or m.getInferLiteral(status, a, 'number')
v1 = tonumber(v1)
v2 = tonumber(v2)
- if not v1 or not v2 then
- return nil
- end
local int = m.hasType(status, a, 'integer')
and m.hasType(status, b, 'integer')
and not m.hasType(status, a, 'number')