浏览代码

Added missing argument to deferred call to restart_editor in surface_upgrade_tool

Peter 10 月之前
父节点
当前提交
3ac4e363df
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/surface_upgrade_tool.cpp

+ 1 - 1
editor/surface_upgrade_tool.cpp

@@ -105,7 +105,7 @@ void SurfaceUpgradeTool::prepare_upgrade() {
 	EditorSettings::get_singleton()->set_project_metadata("surface_upgrade_tool", "resave_paths", resave_paths);
 	EditorSettings::get_singleton()->set_project_metadata("surface_upgrade_tool", "resave_paths", resave_paths);
 
 
 	// Delay to avoid deadlocks, since this dialog can be triggered by loading a scene.
 	// Delay to avoid deadlocks, since this dialog can be triggered by loading a scene.
-	callable_mp(EditorNode::get_singleton(), &EditorNode::restart_editor).call_deferred();
+	callable_mp(EditorNode::get_singleton(), &EditorNode::restart_editor).call_deferred(false);
 }
 }
 
 
 // Ensure that the warnings and popups are skipped.
 // Ensure that the warnings and popups are skipped.