From a6a11f56d9e16d28b801895f1206868921e4fa14 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Fri, 14 Apr 2023 10:17:08 +0200 Subject: [PATCH] Fix physics process_mode using wrong delta --- bt/bt_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt/bt_player.cpp b/bt/bt_player.cpp index ed03749..66115d0 100644 --- a/bt/bt_player.cpp +++ b/bt/bt_player.cpp @@ -80,7 +80,7 @@ void BTPlayer::_notification(int p_notification) { update(time); } break; case NOTIFICATION_PHYSICS_PROCESS: { - Variant time = get_process_delta_time(); + Variant time = get_physics_process_delta_time(); update(time); } break; case NOTIFICATION_READY: {