summaryrefslogtreecommitdiff
path: root/src/core/Registry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Registry.cpp')
-rw-r--r--src/core/Registry.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/Registry.cpp b/src/core/Registry.cpp
index 9427aed..86665a2 100644
--- a/src/core/Registry.cpp
+++ b/src/core/Registry.cpp
@@ -70,16 +70,6 @@ bool Registry::locateResource(Resource &resource, const std::string &path,
}
}
- // If this did not work out, retry but use the UNKNOWN type.
- if (type != ResourceType::UNKNOWN) {
- for (auto &locator : locators) {
- if (locator->locate(resource, path, ResourceType::UNKNOWN,
- relativeTo)) {
- return true;
- }
- }
- }
-
return false;
}
}