diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-28 15:15:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 15:15:53 +0100 |
commit | 01bdf7ae093b12b8007242a9d4e726ca20225fe9 (patch) | |
tree | 10e82b1f651e2dcf9cf03c4dadf4cbd06688dc66 | |
parent | 505fee0b6db806c9fc83acd3a074f40ac57a83e2 (diff) | |
parent | 2423f75585bdb22e2d2bfc968dfb3ae3933a96d6 (diff) |
Merge pull request #35641 from Calinou/improve-missing-pck-error
Improve the error message displayed when the PCK file can't be found
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 0ff392978a..88d4dcc1fc 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -854,7 +854,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph #ifdef TOOLS_ENABLED editor = false; #else - String error_msg = "Error: Could not load game data at path '" + project_path + "'. Is the .pck file missing?\n"; + const String error_msg = "Error: Couldn't load project data at path \"" + project_path + "\". Is the .pck file missing?\nIf you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension).\n"; OS::get_singleton()->print("%s", error_msg.ascii().get_data()); OS::get_singleton()->alert(error_msg); |