From bf53b7789a3de5d7f7e82b30c87b59544b900c1f Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 1 May 2015 11:44:02 -0300 Subject: [PATCH] -fix timer behavior described, closes #1455 --- scene/main/timer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index e59fd6fb75b..2e3e7db0ad2 100644 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -46,6 +46,8 @@ void Timer::_notification(int p_what) { } break; case NOTIFICATION_PROCESS: { + if (!is_processing()) + return; time_left -= get_process_delta_time(); if (time_left<0) {