Tweak the invalid preset error message to mention `export_presets.cfg`

This commit is contained in:
Hugo Locurcio 2020-06-09 10:24:13 +02:00
parent 201d5a7fc5
commit a7b2f3d41a
1 changed files with 3 additions and 1 deletions

View File

@ -619,7 +619,9 @@ void EditorNode::_fs_changed() {
preset.unref();
}
if (preset.is_null()) {
export_error = vformat("Invalid export preset name: %s.", preset_name);
export_error = vformat(
"Invalid export preset name: %s. Make sure `export_presets.cfg` is present in the current directory.",
preset_name);
} else {
Ref<EditorExportPlatform> platform = preset->get_platform();
if (platform.is_null()) {