From 6406f7172473f1b1f5987232716f96e974365492 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 2 Sep 2026 01:37:37 +0900 Subject: [PATCH] . --- PHI-CL/control/calc.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PHI-CL/control/calc.lua b/PHI-CL/control/calc.lua index 17057bf..696cc71 100644 --- a/PHI-CL/control/calc.lua +++ b/PHI-CL/control/calc.lua @@ -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)