mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 12:49:25 +08:00
完善插件机制更改
This commit is contained in:
parent
d2746c4dc5
commit
61f520bcf1
@ -2318,7 +2318,6 @@ control.prototype._doSL_load = function (id, callback) {
|
|||||||
)[0];
|
)[0];
|
||||||
if (!main.replayChecking) {
|
if (!main.replayChecking) {
|
||||||
ancTe.plugin.ui.startOpened.value = false;
|
ancTe.plugin.ui.startOpened.value = false;
|
||||||
ancTe.plugin.ui.loaded.value = false;
|
|
||||||
}
|
}
|
||||||
if (core.isPlaying() && !core.status.gameOver) {
|
if (core.isPlaying() && !core.status.gameOver) {
|
||||||
core.control.autosave(0);
|
core.control.autosave(0);
|
||||||
@ -2336,7 +2335,6 @@ control.prototype._doSL_load = function (id, callback) {
|
|||||||
function (data) {
|
function (data) {
|
||||||
if (!main.replayChecking && data) {
|
if (!main.replayChecking && data) {
|
||||||
ancTe.plugin.ui.startOpened.value = false;
|
ancTe.plugin.ui.startOpened.value = false;
|
||||||
ancTe.plugin.ui.loaded.value = false;
|
|
||||||
}
|
}
|
||||||
if (id == 'autoSave' && data != null) {
|
if (id == 'autoSave' && data != null) {
|
||||||
core.saves.autosave.data = data;
|
core.saves.autosave.data = data;
|
||||||
|
@ -27,7 +27,6 @@ events.prototype.startGame = function (hard, seed, route, callback) {
|
|||||||
core.dom.gameGroup.style.display = 'block';
|
core.dom.gameGroup.style.display = 'block';
|
||||||
if (!main.replayChecking) {
|
if (!main.replayChecking) {
|
||||||
ancTe.plugin.ui.startOpened.value = false;
|
ancTe.plugin.ui.startOpened.value = false;
|
||||||
ancTe.plugin.ui.loaded.value = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (main.mode != 'play') return;
|
if (main.mode != 'play') return;
|
||||||
|
@ -18,7 +18,8 @@ export {};
|
|||||||
|
|
||||||
function updateVueStatusBar() {
|
function updateVueStatusBar() {
|
||||||
if (main.replayChecking) return;
|
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();
|
ancTe.plugin.mark.checkMarkedEnemy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user