diff options
author | Bastiaan Olij <mux213@gmail.com> | 2017-09-17 11:59:56 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2017-09-17 11:59:56 +1000 |
commit | 913e5cabbda3389a9a94167419d0bf28937d8087 (patch) | |
tree | 8200011b8d61f6d21bccdf69eb02d6d45a5a6337 | |
parent | cbcf2557644cd70092fcb890289806770a991929 (diff) |
Fixed naming of pck file
-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 72d40b42c3..7ea0d563a6 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"; |