From 1303c959b19d29f4fe13b377f3643cad64bc0439 Mon Sep 17 00:00:00 2001 From: hppeng Date: Sun, 26 Jun 2022 05:35:04 -0700 Subject: [PATCH] HOTFIX: remove `const` from SumInputNode to allow default value fixing --- js/builder_graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/builder_graph.js b/js/builder_graph.js index a540673..928a5c3 100644 --- a/js/builder_graph.js +++ b/js/builder_graph.js @@ -928,7 +928,7 @@ class SkillPointSetterNode extends ComputeNode { */ class SumNumberInputNode extends InputNode { compute_func(input_map) { - const value = this.input_field.value; + let value = this.input_field.value; if (value === "") { value = 0; } let input_num = 0;