feat: AI assistant panel, editor improvements, vite and package config
This commit is contained in:
@@ -114,7 +114,7 @@ function handleStartFromScene(sceneId: string) {
|
||||
if (sc.choices) for (const ch2 of sc.choices) if (ch2.targetScene) queue.push(ch2.targetScene)
|
||||
if (sc.nextScene) {
|
||||
if (Array.isArray(sc.nextScene)) for (const r of sc.nextScene) if (r.targetScene) queue.push(r.targetScene)
|
||||
else queue.push(sc.nextScene)
|
||||
else queue.push(sc.nextScene as unknown as string)
|
||||
}
|
||||
if (sc.qte) { if (sc.qte.successScene) queue.push(sc.qte.successScene); if (sc.qte.failScene) queue.push(sc.qte.failScene) }
|
||||
if (sc.hotspots) for (const h of sc.hotspots) if (h.targetScene) queue.push(h.targetScene)
|
||||
|
||||
Reference in New Issue
Block a user