You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
-fix timer behavior described, closes #1455
This commit is contained in:
@@ -46,6 +46,8 @@ void Timer::_notification(int p_what) {
|
|||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_PROCESS: {
|
case NOTIFICATION_PROCESS: {
|
||||||
|
|
||||||
|
if (!is_processing())
|
||||||
|
return;
|
||||||
time_left -= get_process_delta_time();
|
time_left -= get_process_delta_time();
|
||||||
|
|
||||||
if (time_left<0) {
|
if (time_left<0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user