diff options
| author | Rémi Verschelde | 2017-09-17 12:03:39 +0200 |
|---|---|---|
| committer | GitHub | 2017-09-17 12:03:39 +0200 |
| commit | 6dd8dd935e1c018a5515932cb418a9066cd5a895 (patch) | |
| tree | 8076f950687742d5e0f547c83580b3a6be5a0dee /core/project_settings.cpp | |
| parent | c47538d5bb60a2e332569f4fed759a4eb513ec52 (diff) | |
| parent | 913e5cabbda3389a9a94167419d0bf28937d8087 (diff) | |
| download | godot-6dd8dd935e1c018a5515932cb418a9066cd5a895.tar.gz godot-6dd8dd935e1c018a5515932cb418a9066cd5a895.tar.zst godot-6dd8dd935e1c018a5515932cb418a9066cd5a895.zip | |
Merge pull request #11343 from BastiaanOlij/fix_basename
Fixed naming of pck file
Diffstat (limited to 'core/project_settings.cpp')
| -rw-r--r-- | core/project_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/project_settings.cpp b/core/project_settings.cpp index 72d40b42c..7ea0d563a 100644 --- a/core/project_settings.cpp +++ b/core/project_settings.cpp @@ -307,8 +307,8 @@ Error ProjectSettings::setup(const String &p_path, const String &p_main_pack) { if (exec_path != "") { bool found = false; - // get our filename without our path (note, not using exec_path.get_basename anymore because not all file systems have dots in their file names!) - String filebase_name = exec_path.get_file(); + // get our filename without our path (note, using exec_path.get_file before get_basename anymore because not all file systems have dots in their file names!) + String filebase_name = exec_path.get_file().get_basename(); // try to open at the location of executable String datapack_name = exec_path.get_base_dir().plus_file(filebase_name) + ".pck"; |
