diff options
| author | Hubert Jarosz | 2016-03-09 00:00:52 +0100 |
|---|---|---|
| committer | Hubert Jarosz | 2016-03-09 00:00:52 +0100 |
| commit | 4a4f2479146aa33e235ed57cde311efda68d3c8f (patch) | |
| tree | cf91f2869ff8f058c6682569fb31e22e5ee736ad /scene/main/timer.cpp | |
| parent | 1dad6eca812e5c2e313b54265114de8a1d73d999 (diff) | |
| download | godot-4a4f2479146aa33e235ed57cde311efda68d3c8f.tar.gz godot-4a4f2479146aa33e235ed57cde311efda68d3c8f.tar.zst godot-4a4f2479146aa33e235ed57cde311efda68d3c8f.zip | |
Diffstat (limited to 'scene/main/timer.cpp')
| -rw-r--r-- | scene/main/timer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index a118bc978..73458e03c 100644 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -111,7 +111,7 @@ bool Timer::has_autostart() const { } void Timer::start() { - time_left=wait_time; + time_left=wait_time; _set_process(true); } @@ -154,7 +154,7 @@ Timer::TimerProcessMode Timer::get_timer_process_mode() const{ } -void Timer::_set_process(bool p_process, bool p_force) +void Timer::_set_process(bool p_process, bool p_force) { switch (timer_process_mode) { case TIMER_PROCESS_FIXED: set_fixed_process(p_process); break; |
