فهرست منبع

Set initial SceneTree processes times to 0.0

Marcel Admiraal 3 سال پیش
والد
کامیت
96c75f1d10
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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;