From cf2e53ebc3043649ccd51edc17ddeaf85fd2e201 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 9 Sep 2023 04:01:26 +0200 Subject: [PATCH] Also remove now unnecessary if. --- scene/main/scene_tree.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index fd8203a08..cdf1e5b7f 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -1358,9 +1358,7 @@ void SceneTree::_call_input_pause(const StringName &p_group, const CallInputType Node *n = no_context_nodes[i]; - if (n) { - n->call_multilevel(method, (const Variant **)v, 1); - } + n->call_multilevel(method, (const Variant **)v, 1); } }