Skip to content

Commit

Permalink
Merge pull request godotengine#35641 from Calinou/improve-missing-pck…
Browse files Browse the repository at this point in the history
…-error

Improve the error message displayed when the PCK file can't be found
  • Loading branch information
akien-mga authored Jan 28, 2020
2 parents 505fee0 + 2423f75 commit 01bdf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 01bdf7a

Please sign in to comment.