chore:数据统计完了要还原

This commit is contained in:
ShakeFlower 2026-02-27 12:12:35 +08:00
parent 6f07585be4
commit bf5cb0f53a

View File

@ -1781,7 +1781,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
// core.bigmap.threshold = 256;
const origin = core.control.updateStatusBar;
core.updateStatusBar = core.control.updateStatusBar = function () {
if (core.getFlag('__statistics__')) return;
if (core.hasFlag('__statistics__')) return;
else return origin.apply(core.control, arguments);
}
@ -10295,6 +10295,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
const playerBtn = new RoundBtn(216, 20, 80, 20, "玩家数据", mainConfig);
floorBtn.status = "selected";
const exit = () => {
core.setFlag("__statistics__", null);
setTimeout(() => {
staticsMenu.clear();
core.unlockControl();