diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index a232354faeb..b6b694ff550 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -78,7 +78,7 @@ void SceneTreeTimer::set_time_left(double p_time) { } double SceneTreeTimer::get_time_left() const { - return time_left; + return MAX(time_left, 0.0); } void SceneTreeTimer::set_process_always(bool p_process_always) {