From 2893e1c3fbffa0960fef2c5298ea13e77487cc78 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Sun, 29 Dec 2019 22:14:43 +0800 Subject: [PATCH] v2.6.6 --- _server/editor_table.js | 1 + project/data.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_server/editor_table.js b/_server/editor_table.js index b2e8cf3f..c21220fd 100644 --- a/_server/editor_table.js +++ b/_server/editor_table.js @@ -293,6 +293,7 @@ editor_table_wrapper = function (editor) { var thiseval = null; if (input.checked != null) input.value = input.checked; try { + if (input.value == '') input.value = 'null'; thiseval = JSON.parse(input.value); } catch (ee) { printe(field + ' : ' + ee); diff --git a/project/data.js b/project/data.js index f7671cba..f5c220f7 100644 --- a/project/data.js +++ b/project/data.js @@ -63,8 +63,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "武器", "盾牌" ], - "startBgm": "bgm.mp3", - "statusLeftBackground": "url(project/images/ground.png) repeat", + "startBgm": null, + "statusLeftBackground": null, "statusTopBackground": "url(project/images/ground.png) repeat", "toolsBackground": "url(project/images/ground.png) repeat", "borderColor": "#CCCCCC",