summaryrefslogtreecommitdiffstats
path: root/scene/main/timer.cpp
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2021-02-09 18:24:36 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2021-02-09 18:24:36 +0100
commit7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e (patch)
tree9560a84f1300e2466338426f2e267adba6a06a53 /scene/main/timer.cpp
parentdf9c98e107b19fc50bc5ae9f7ed624d693c0fb32 (diff)
downloadredot-engine-7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e.tar.gz
Initialize class variables with default values in scene/ [2/2]
Diffstat (limited to 'scene/main/timer.cpp')
-rw-r--r--scene/main/timer.cpp10
1 files changed, 1 insertions, 9 deletions
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() {}