diff --git a/html/src/app.js b/html/src/app.js index bed37f00..fec4913c 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -11189,8 +11189,12 @@ speechSynthesis.getVoices(); delete this.VRChatConfigFile.screenshot_res_width; } for (var item in this.VRChatConfigFile) { - if (!this.VRChatConfigFile[item]) { + if (this.VRChatConfigFile[item] === '') { delete this.VRChatConfigFile[item]; + } else if ((typeof this.VRChatConfigFile[item] === 'boolean') && (this.VRChatConfigFile[item] === false)) { + delete this.VRChatConfigFile[item]; + } else if ((typeof this.VRChatConfigFile[item] === 'string') && (!isNaN(this.VRChatConfigFile[item]))) { + this.VRChatConfigFile[item] = parseInt(this.VRChatConfigFile[item]); } } this.VRChatConfigDialog.visible = false;