Browse Source

Merge pull request #52132 from nekomatata/fix-physics-process-delta

Fix delta passed in _physics_process
Camille Mohr-Daurat 4 years ago
parent
commit
adafc509f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/main/node.cpp

+ 1 - 1
scene/main/node.cpp

@@ -58,7 +58,7 @@ void Node::_notification(int p_notification) {
 
 		} break;
 		case NOTIFICATION_PHYSICS_PROCESS: {
-			GDVIRTUAL_CALL(_physics_process, get_process_delta_time());
+			GDVIRTUAL_CALL(_physics_process, get_physics_process_delta_time());
 
 		} break;
 		case NOTIFICATION_ENTER_TREE: {