mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-03-11 23:49:08 +01:00
Fix DirAccess::get_filesystem_abspath_for() for .pck files.
This commit is contained in:
parent
34ddcc3694
commit
8284ff56b8
@ -454,7 +454,8 @@ String DirAccess::get_filesystem_abspath_for(String p_path) {
|
|||||||
if (resource_path != "") {
|
if (resource_path != "") {
|
||||||
p_path = p_path.replace_first("res:/", resource_path);
|
p_path = p_path.replace_first("res:/", resource_path);
|
||||||
} else {
|
} else {
|
||||||
p_path = p_path.replace_first("res://", "");
|
//for resources in this case actually the "res://<path>" is the proper filesystem path.
|
||||||
|
return p_path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (p_path.begins_with("user://")) {
|
} else if (p_path.begins_with("user://")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user