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]);