-fix timer behavior described, closes #1455
This commit is contained in:
parent
c08597aa64
commit
bf53b7789a
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue