mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
Added missing argument to deferred call to restart_editor in surface_upgrade_tool
This commit is contained in:
parent
d09d82d433
commit
3ac4e363df
@ -105,7 +105,7 @@ void SurfaceUpgradeTool::prepare_upgrade() {
|
||||
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.
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user