🔧 EXPORT FIX - StoryScene missing export
PROBLEM:
ReferenceError: StoryScene is not defined
In game.js:71
CAUSE:
Added import statement to StoryScene.js
But forgot to export the class!
FIX:
Added: export default StoryScene;
✅ FIXED! Game should load now!
This commit is contained in:
@@ -612,3 +612,5 @@ class StoryScene extends Phaser.Scene {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default StoryScene;
|
||||
|
||||
Reference in New Issue
Block a user