diff options
Diffstat (limited to 'scene/main/scene_tree.h')
| -rw-r--r-- | scene/main/scene_tree.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/main/scene_tree.h b/scene/main/scene_tree.h index 9b550f7135..e1597d3890 100644 --- a/scene/main/scene_tree.h +++ b/scene/main/scene_tree.h @@ -178,6 +178,8 @@ private: TypedArray<Node> _get_nodes_in_group(const StringName &p_group); Node *current_scene = nullptr; + Node *prev_scene = nullptr; + Node *pending_new_scene = nullptr; Color debug_collisions_color; Color debug_collision_contact_color; @@ -188,7 +190,7 @@ private: Ref<Material> collision_material; int collision_debug_contacts; - void _change_scene(Node *p_to); + void _flush_scene_change(); List<Ref<SceneTreeTimer>> timers; List<Ref<Tween>> tweens; |
