diff options
| author | Juan Linietsky | 2017-01-05 09:16:00 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-05 09:16:00 -0300 |
| commit | 0f7af4ea51744cda23c4d3c7481f9c332973d1d4 (patch) | |
| tree | 27b8914062558b5648655ccf3db13251d217af98 /core/os/file_access.cpp | |
| parent | 9e477babb3bf0ce5179395c2a5155a3f3cd36798 (diff) | |
| download | godot-0f7af4ea51744cda23c4d3c7481f9c332973d1d4.tar.gz godot-0f7af4ea51744cda23c4d3c7481f9c332973d1d4.tar.zst godot-0f7af4ea51744cda23c4d3c7481f9c332973d1d4.zip | |
Diffstat (limited to 'core/os/file_access.cpp')
| -rw-r--r-- | core/os/file_access.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/file_access.cpp b/core/os/file_access.cpp index 388c598ac..06723c513 100644 --- a/core/os/file_access.cpp +++ b/core/os/file_access.cpp @@ -139,10 +139,10 @@ String FileAccess::fix_path(const String& p_path) const { case ACCESS_RESOURCES: { - if (Globals::get_singleton()) { + if (GlobalConfig::get_singleton()) { if (r_path.begins_with("res://")) { - String resource_path = Globals::get_singleton()->get_resource_path(); + String resource_path = GlobalConfig::get_singleton()->get_resource_path(); if (resource_path != "") { return r_path.replace("res:/",resource_path); |
