mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 01:19:38 +01:00
Ported: Force external resources to have their path set
- Razoric480
420794b61d
This commit is contained in:
parent
5d93975c8d
commit
4a51324f7d
@ -151,7 +151,7 @@ Error ResourceInteractiveLoaderText::_parse_ext_resource(VariantParser::Stream *
|
|||||||
path = ProjectSettings::get_singleton()->localize_path(res_path.get_base_dir().plus_file(path));
|
path = ProjectSettings::get_singleton()->localize_path(res_path.get_base_dir().plus_file(path));
|
||||||
}
|
}
|
||||||
|
|
||||||
r_res = ResourceLoader::load(path, type, no_subresource_cache);
|
r_res = ResourceLoader::load(path, type, false);
|
||||||
|
|
||||||
if (r_res.is_null()) {
|
if (r_res.is_null()) {
|
||||||
WARN_PRINT(String("Couldn't load external resource: " + path).utf8().get_data());
|
WARN_PRINT(String("Couldn't load external resource: " + path).utf8().get_data());
|
||||||
|
Loading…
Reference in New Issue
Block a user