diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index d99aeb1d4b2..3e408d24e7d 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -996,7 +996,7 @@ void Viewport::_propagate_exit_world(Node *p_node) { Spatial *s = p_node->cast_to(); if (s) { - s->notification(Spatial::NOTIFICATION_EXIT_WORLD,false); + s->notification(Spatial::NOTIFICATION_EXIT_WORLD, true); } else { Viewport *v = p_node->cast_to(); if (v) {