diff options
author | x2f <10355421+x2f@users.noreply.github.com> | 2019-11-27 10:34:54 -0500 |
---|---|---|
committer | x2f <xavier.defoy@interdigital.com> | 2019-11-27 14:11:15 -0500 |
commit | f085110b206736c6832f852cc455cc3f97f02a08 (patch) | |
tree | 449ab469e0734da81828de1704d229d2f9ad032e | |
parent | a87e2f85ee838245f0d5e702561faa3502b14800 (diff) |
Added more details in Timer.start() error message.
-rwxr-xr-x | scene/main/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index 14cc705edb..da96c6e89c 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); |