Fix physics process_mode using wrong delta
This commit is contained in:
parent
ded2ed2fef
commit
a6a11f56d9
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue