I have a screen manager in my project that I use to go from the home screen to the game screen, then back to the home screen. THAT works all fine and dandy, but then after being at the home screen for the SECOND time it won't let me load a new game, and I can't figure out why.
Here is the screen manager:
onready var current_screen = $HomeScreen
new_screen = load(new_screen).instance()
current_screen = new_screen
Then here is what happens when I call a new game from the home screen:
When I try to load a second game, I get an error that says, "ERROR: Attempted method call on a deleted object."
What am I missing?