1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Initialize class variables with default values in scene/ [2/2]

This commit is contained in:
Rafał Mikrut
2021-02-09 18:24:36 +01:00
parent df9c98e107
commit 7961a1dea3
171 changed files with 1007 additions and 1889 deletions

View File

@@ -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() {}