feat: 结局AI改写支持pathHistory回放和完成通知

This commit is contained in:
wangwuww111
2026-03-10 14:19:13 +08:00
parent aa23db8a89
commit 2b941cc4e0
5 changed files with 119 additions and 29 deletions

View File

@@ -128,6 +128,12 @@ export default class Main {
try {
if (!this.userManager.isLoggedIn) return;
// 如果结局页正在轮询,跳过全局检查
const currentScene = this.sceneManager.currentScene;
if (currentScene && currentScene.draftPollTimer) {
return;
}
const result = await this.storyManager.checkNewDrafts(this.userManager.userId);
if (result && result.hasNew && result.count > 0) {