With this extension, I switched from the main menu to the game scene. Later, I switched from the game scene to the main menu. I deleted the game scene with the commands get_tree().get_root().call_deferred("remove_child", game_scene) and game_scene.queue_free(). However, when I return to the main menu scene, the game scene is loading again. What should I do?
With this extension, I switched from the main menu to the game scene. Later, I switched from the game scene to the main menu. I deleted the game scene with the commands get_tree().get_root().call_deferred("remove_child", game_scene) and game_scene.queue_free(). However, when I return to the main menu scene, the game scene is loading again. What should I do?