From a1b5eb4339dad534734a76ab45865ea5d7558184 Mon Sep 17 00:00:00 2001 From: xian18 <44394537+xian18@users.noreply.github.com> Date: Fri, 11 Feb 2022 17:52:21 +0800 Subject: [PATCH] #publish fix typo --- js/plugins/SF_AutoUpdate.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/plugins/SF_AutoUpdate.js b/js/plugins/SF_AutoUpdate.js index a4bb8ef..7eb9a00 100644 --- a/js/plugins/SF_AutoUpdate.js +++ b/js/plugins/SF_AutoUpdate.js @@ -407,7 +407,6 @@ var SF_Plugins = SF_Plugins || {}; var success = (function () { this._remoteFileInfo = JsonEx.parse(FileUtils.readTextFile(SF_AutoUpdate.remoteFileInfoName)); this._status = "completed"; - this._nextJob = "compare file info"; }).bind(this); var fail = (function () { @@ -425,7 +424,7 @@ var SF_Plugins = SF_Plugins || {}; Scene_AutoUpdate.prototype.compareFileInfo = function () { this._compareWorker.postMessage({ - "type": "compare", + "command": "compare", "localFileInfo": this._localFileInfo, "remoteFileInfo": this._remoteFileInfo }); @@ -465,7 +464,6 @@ var SF_Plugins = SF_Plugins || {}; this._updateFileCount = this._updateFileList.length; if (this._updateFileCount === 0) { this._status = "completed"; - this._nextJob = ""; return; } this._updateFileName = this._updateFileList[this._updateFileIndex]; @@ -477,7 +475,6 @@ var SF_Plugins = SF_Plugins || {}; this._updateFileIndex++; if (this._updateFileIndex >= this._updateFileCount) { this._status = "completed"; - this._nextJob = ""; this._updateSuccess = true; } else { this._updateFileName = this._updateFileList[this._updateFileIndex];