mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +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 != "") {
|
||||
p_path = p_path.replace_first("res:/", resource_path);
|
||||
} 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://")) {
|
||||
|
Loading…
Reference in New Issue
Block a user