Browse Source

Fix delta passed in _physics_process

Regression due to typo in recent GDVIRTUAL_CALL change.
PouleyKetchoupp 4 năm trước cách đây
mục cha
commit
cbce1550ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: {