When launching a scene directly using "Play Scene", an error will occur if you try to access an @onready variable from pre_start or start.
Updated scenes.gd to ensure the scene is ready before calling pre_start and start. Updated gameplay.gd to use @onready variable to highlight the bug and fix.
When launching a scene directly using "Play Scene", an error will occur if you try to access an
@onready
variable frompre_start
orstart
.Updated
scenes.gd
to ensure the scene is ready before callingpre_start
andstart
. Updatedgameplay.gd
to use@onready
variable to highlight the bug and fix.