From 7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Tue, 9 Feb 2021 18:24:36 +0100 Subject: Initialize class variables with default values in scene/ [2/2] --- scene/main/timer.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'scene/main/timer.cpp') diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index d7b2292ff5..3661b6c394 100644 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -217,12 +217,4 @@ void Timer::_bind_methods() { BIND_ENUM_CONSTANT(TIMER_PROCESS_IDLE); } -Timer::Timer() { - timer_process_mode = TIMER_PROCESS_IDLE; - autostart = false; - wait_time = 1; - one_shot = false; - time_left = -1; - processing = false; - paused = false; -} +Timer::Timer() {} -- cgit v1.2.3