From f085110b206736c6832f852cc455cc3f97f02a08 Mon Sep 17 00:00:00 2001 From: x2f <10355421+x2f@users.noreply.github.com> Date: Wed, 27 Nov 2019 10:34:54 -0500 Subject: [PATCH] Added more details in 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 14cc705edb1..da96c6e89c2 100755 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -108,7 +108,7 @@ bool Timer::has_autostart() const { void Timer::start(float p_time) { - ERR_FAIL_COND_MSG(!is_inside_tree(), "Timer was not added to the SceneTree!"); + ERR_FAIL_COND_MSG(!is_inside_tree(), "Timer was not added to the SceneTree. Either add it or set autostart to true."); if (p_time > 0) { set_wait_time(p_time);