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
|
||||
end)
|
||||
|
||||
if not ok then
|
||||
return type(result) == 'table' and result or {'calc.error', tostring(result)}
|
||||
end
|
||||
|
||||
return result
|
||||
return ok and result or (type(result) == 'table' and result or {'calc.error', tostring(result)})
|
||||
end
|
||||
|
||||
function main.change(event)
|
||||
|
||||
Reference in New Issue
Block a user