1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Remove unnecessary assignments

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
Wilson E. Alvarez
2023-12-13 11:06:14 -05:00
parent aa5b6ed13e
commit 80fb8db31f
19 changed files with 31 additions and 56 deletions

View File

@@ -40,12 +40,11 @@ void ResourcePreloader::_set_resources(const Array &p_data) {
ERR_FAIL_COND(names.size() != resdata.size());
for (int i = 0; i < resdata.size(); i++) {
String name = names[i];
Ref<Resource> resource = resdata[i];
ERR_CONTINUE(!resource.is_valid());
resources[name] = resource;
resources[names[i]] = resource;
//add_resource(name,resource);
//add_resource(names[i],resource);
}
}