mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-09-27 02:14:01 +00:00
.
This commit is contained in:
@@ -279,11 +279,7 @@ function main.parse(expression)
|
|||||||
return value
|
return value
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if not ok then
|
return ok and result or (type(result) == 'table' and result or {'calc.error', tostring(result)})
|
||||||
return type(result) == 'table' and result or {'calc.error', tostring(result)}
|
|
||||||
end
|
|
||||||
|
|
||||||
return result
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function main.change(event)
|
function main.change(event)
|
||||||
|
|||||||
Reference in New Issue
Block a user