完善插件机制更改

This commit is contained in:
unanmed 2023-08-01 12:24:46 +08:00
parent d2746c4dc5
commit 61f520bcf1
3 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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();
}