You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Provide a getter for the project data directory.
This commit is contained in:
@@ -568,7 +568,7 @@ void EditorFileDialog::_item_list_item_rmb_selected(int p_item, const Vector2 &p
|
||||
continue;
|
||||
}
|
||||
Dictionary item_meta = item_list->get_item_metadata(i);
|
||||
if (item_meta["path"] == "res://.import") {
|
||||
if (item_meta["path"] == ProjectSettings::get_singleton()->get_project_data_path()) {
|
||||
allow_delete = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user