Improve the error message displayed when the PCK file can't be found
This explains what to do if the executable was renamed, which is helpful for people exporting projects.
This commit is contained in:
parent
096bf873bc
commit
2423f75585
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
editor = false;
|
editor = false;
|
||||||
#else
|
#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()->print("%s", error_msg.ascii().get_data());
|
||||||
OS::get_singleton()->alert(error_msg);
|
OS::get_singleton()->alert(error_msg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue