You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
@@ -595,10 +595,10 @@ void FileSystemDock::_select_file(int p_idx) {
|
|||||||
current_path->set_text(path);
|
current_path->set_text(path);
|
||||||
_push_to_history();
|
_push_to_history();
|
||||||
} else {
|
} else {
|
||||||
if (ResourceLoader::get_resource_type(path) == "PackedScene") {
|
if (ResourceLoader::get_resource_type(fpath) == "PackedScene") {
|
||||||
editor->open_request(path);
|
editor->open_request(fpath);
|
||||||
} else {
|
} else {
|
||||||
editor->load_resource(path);
|
editor->load_resource(fpath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user