Merge pull request #15596 from endragor/cache-no-error
Dont print error when loading resource from cache
This commit is contained in:
commit
90de1d236c
1 changed files with 2 additions and 1 deletions
|
@ -202,7 +202,8 @@ RES ResourceLoader::load(const String &p_path, const String &p_type_hint, bool p
|
||||||
|
|
||||||
if (OS::get_singleton()->is_stdout_verbose())
|
if (OS::get_singleton()->is_stdout_verbose())
|
||||||
print_line("load resource: " + local_path + " (cached)");
|
print_line("load resource: " + local_path + " (cached)");
|
||||||
|
if (r_error)
|
||||||
|
*r_error = OK;
|
||||||
return RES(ResourceCache::get(local_path));
|
return RES(ResourceCache::get(local_path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue