From 90328e921fbf05e656e2555f986ba182f98ac8ec Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Mon, 12 May 2025 11:03:30 -0400 Subject: [PATCH] Improve Timer::start error message. --- scene/main/timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index 8c36c56c42..997320b25d 100644 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -114,7 +114,7 @@ bool Timer::has_autostart() const { } void Timer::start(double p_time) { - ERR_FAIL_COND_MSG(!is_inside_tree(), "Timer was not added to the SceneTree. Either add it or set autostart to true."); + ERR_FAIL_COND_MSG(!is_inside_tree(), "Unable to start the timer because it's not inside the scene tree. Either add it or set autostart to true."); if (p_time > 0) { set_wait_time(p_time);