Browse Source

Set initial SceneTree processes times to 0.0

Marcel Admiraal 3 năm trước cách đây
mục cha
commit
96c75f1d10
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      scene/main/scene_tree.h

+ 2 - 2
scene/main/scene_tree.h

@@ -90,8 +90,8 @@ private:
 	Window *root = nullptr;
 
 	uint64_t tree_version = 1;
-	double physics_process_time = 1.0;
-	double process_time = 1.0;
+	double physics_process_time = 0.0;
+	double process_time = 0.0;
 	bool accept_quit = true;
 	bool quit_on_go_back = true;