summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
Diffstat (limited to 'scene')
-rw-r--r--scene/main/timer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp
index e59fd6fb75..2e3e7db0ad 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) {