From 30a9004bbf81afebd5b5d0b069cc5dbc9c091516 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Thu, 2 Sep 2021 14:05:31 +0800 Subject: [PATCH] Fix tiny bug --- _server/editor_uievent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_server/editor_uievent.js b/_server/editor_uievent.js index 9338e4a9..9b3e244d 100644 --- a/_server/editor_uievent.js +++ b/_server/editor_uievent.js @@ -1005,7 +1005,7 @@ editor_uievent_wrapper = function (editor) { var values = Array.from(document.getElementById('_previewStatusBarValue').children).filter(function (one) { return one.tagName == 'INPUT' || one.tagName == 'TEXTAREA'; }).map(function (one) { return one.value; }); - core.status.hero.name = values[0].value; + core.status.hero.name = values[0]; core.status.hero.hp = parseFloat(values[1]); core.status.hero.hpmax = parseFloat(values[2]); core.status.hero.atk = parseFloat(values[3]);