Fix physics process_mode using wrong delta

This commit is contained in:
Serhii Snitsaruk 2023-04-14 10:17:08 +02:00
parent ded2ed2fef
commit a6a11f56d9
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void BTPlayer::_notification(int p_notification) {
update(time); update(time);
} break; } break;
case NOTIFICATION_PHYSICS_PROCESS: { case NOTIFICATION_PHYSICS_PROCESS: {
Variant time = get_process_delta_time(); Variant time = get_physics_process_delta_time();
update(time); update(time);
} break; } break;
case NOTIFICATION_READY: { case NOTIFICATION_READY: {