From bc3aff9b46c121eb60ef5e2a1b2ea9b00432981d Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 5 Mar 2022 21:22:38 +0100 Subject: Various code and documentation improvements --- scene/main/scene_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/main') diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 69e7472cf2..d1e8b477a6 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -486,7 +486,7 @@ bool SceneTree::process(double p_time) { } E->get()->set_time_left(time_left); - if (time_left < 0) { + if (time_left <= 0) { E->get()->emit_signal(SNAME("timeout")); timers.erase(E); } -- cgit v1.2.3