From 27be3d2ffc0c28b2324916bf04d4ac815b70c329 Mon Sep 17 00:00:00 2001 From: Michael Wozniak Date: Sun, 4 Aug 2024 21:21:27 +0200 Subject: [PATCH] Update scene/main/scene_tree.cpp Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> --- scene/main/scene_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 367bd2c4461..d775ad9c3d4 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -1620,7 +1620,7 @@ void SceneTree::_bind_methods() { ClassDB::bind_method(D_METHOD("set_pause", "enable"), &SceneTree::set_pause); ClassDB::bind_method(D_METHOD("is_paused"), &SceneTree::is_paused); - ClassDB::bind_method(D_METHOD("create_timer", "time_sec", "process_always", "process_in_physics", "ignore_time_scale", "owner"), &SceneTree::create_timer, DEFVAL(true), DEFVAL(false), DEFVAL(false)); + ClassDB::bind_method(D_METHOD("create_timer", "time_sec", "process_always", "process_in_physics", "ignore_time_scale", "owner"), &SceneTree::create_timer, DEFVAL(true), DEFVAL(false), DEFVAL(false), DEFVAL(nullptr)); ClassDB::bind_method(D_METHOD("create_tween"), &SceneTree::create_tween); ClassDB::bind_method(D_METHOD("get_processed_tweens"), &SceneTree::get_processed_tweens);