From 1ec31d4e48b2d82ab82aa6ffe4cc393bbd9d5d56 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 17 Nov 2026 14:16:56 +0900 Subject: [PATCH] . --- exp_scenario/module/gui/calculator.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exp_scenario/module/gui/calculator.lua b/exp_scenario/module/gui/calculator.lua index 5be15721..5161874c 100644 --- a/exp_scenario/module/gui/calculator.lua +++ b/exp_scenario/module/gui/calculator.lua @@ -312,7 +312,7 @@ function Elements.parse(expression) return lhs end - return ok, result = pcall(function() + local ok, result = pcall(function() local value = parse_expr(1) skip_space() @@ -326,6 +326,8 @@ function Elements.parse(expression) return value end) + + return ok, result end --- Value change