diff options
Diffstat (limited to 'editor/export/project_export.cpp')
-rw-r--r-- | editor/export/project_export.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index 223900e8b3..cae814e77d 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -1039,6 +1039,8 @@ void ProjectExportDialog::_export_pck_zip_selected(const String &p_path) { platform->export_zip(current, export_pck_zip_debug->is_pressed(), p_path); } else if (p_path.ends_with(".pck")) { platform->export_pack(current, export_pck_zip_debug->is_pressed(), p_path); + } else { + ERR_FAIL_MSG("Path must end with .pck or .zip"); } } |