🔧 Jan 8 Fix EnhancedPrologueScene Syntax Error
❌ BUG FIX: - Line 131: Comment and code on same line - Wrong indentation in flyoverVoice.once callback - Caused: SyntaxError: Unexpected token '}' ✅ SOLUTION: - Separated comment to own line - Fixed indentation (4 spaces) - Node syntax check passes ✅ Game now loads without errors!
This commit is contained in:
@@ -128,7 +128,8 @@ class EnhancedPrologueScene extends Phaser.Scene {
|
|||||||
this.showSubtitle("The Valley of Death is not just a place. It's a memory that no one wants to have anymore.");
|
this.showSubtitle("The Valley of Death is not just a place. It's a memory that no one wants to have anymore.");
|
||||||
});
|
});
|
||||||
|
|
||||||
// After flyover, go to awakening flyoverVoice.once('complete', () => {
|
// After flyover, go to awakening
|
||||||
|
flyoverVoice.once('complete', () => {
|
||||||
this.time.delayedCall(1000, () => this.phase3_Awakening());
|
this.time.delayedCall(1000, () => this.phase3_Awakening());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user