Skip to content

Commit

Permalink
Merge pull request #93909 from VictorKostinOfficial/missing-custom-re…
Browse files Browse the repository at this point in the history
…sources

Fix custom resources often missing from Quick Load dialog
  • Loading branch information
akien-mga committed Jul 4, 2024
2 parents f986a80 + 3afc777 commit 5f0a2dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/editor_file_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ void EditorFileSystem::_scan_filesystem() {
FileCache fc;
fc.type = split[1];
if (fc.type.contains("/")) {
fc.type = fc.type.get_slice("/", 0);
fc.resource_script_class = fc.type.get_slice("/", 1);
fc.type = split[1].get_slice("/", 0);
fc.resource_script_class = split[1].get_slice("/", 1);
}
fc.uid = split[2].to_int();
fc.modification_time = split[3].to_int();
Expand Down

0 comments on commit 5f0a2dd

Please sign in to comment.