From 61f520bcf1369afe6c5bdf510d4b1d99b33ed727 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Tue, 1 Aug 2023 12:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8F=92=E4=BB=B6=E6=9C=BA?= =?UTF-8?q?=E5=88=B6=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/libs/control.js | 2 -- public/libs/events.js | 1 - src/plugin/game/ui.js | 3 ++- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/public/libs/control.js b/public/libs/control.js index 8ae6c91..6d0011d 100644 --- a/public/libs/control.js +++ b/public/libs/control.js @@ -2318,7 +2318,6 @@ control.prototype._doSL_load = function (id, callback) { )[0]; if (!main.replayChecking) { ancTe.plugin.ui.startOpened.value = false; - ancTe.plugin.ui.loaded.value = false; } if (core.isPlaying() && !core.status.gameOver) { core.control.autosave(0); @@ -2336,7 +2335,6 @@ control.prototype._doSL_load = function (id, callback) { function (data) { if (!main.replayChecking && data) { ancTe.plugin.ui.startOpened.value = false; - ancTe.plugin.ui.loaded.value = false; } if (id == 'autoSave' && data != null) { core.saves.autosave.data = data; diff --git a/public/libs/events.js b/public/libs/events.js index a9d86e7..fee06ae 100644 --- a/public/libs/events.js +++ b/public/libs/events.js @@ -27,7 +27,6 @@ events.prototype.startGame = function (hard, seed, route, callback) { core.dom.gameGroup.style.display = 'block'; if (!main.replayChecking) { ancTe.plugin.ui.startOpened.value = false; - ancTe.plugin.ui.loaded.value = false; } if (main.mode != 'play') return; diff --git a/src/plugin/game/ui.js b/src/plugin/game/ui.js index c5594d8..c800742 100644 --- a/src/plugin/game/ui.js +++ b/src/plugin/game/ui.js @@ -18,7 +18,8 @@ export {}; function updateVueStatusBar() { if (main.replayChecking) return; - core.plugin.statusBarStatus.value = !core.plugin.statusBarStatus.value; + ancTe.plugin.status.statusBarStatus.value = + !ancTe.plugin.status.statusBarStatus.value; ancTe.plugin.mark.checkMarkedEnemy(); }