aboutsummaryrefslogtreecommitdiff
path: root/editor/project_export.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-09-12 12:55:53 +0200
committerGitHub2017-09-12 12:55:53 +0200
commitaabbd00284640a4789f96702c134ea40b11b402e (patch)
tree8363659a6551644b0d89401681e2909d5451a119 /editor/project_export.cpp
parentc5e0e31f5106d7d91dc478af1f86740c74cea824 (diff)
parentb2a38854fdde296fd2d7da139a29b23a18ab494d (diff)
downloadgodot-aabbd00284640a4789f96702c134ea40b11b402e.tar.gz
godot-aabbd00284640a4789f96702c134ea40b11b402e.tar.zst
godot-aabbd00284640a4789f96702c134ea40b11b402e.zip
Diffstat (limited to 'editor/project_export.cpp')
-rw-r--r--editor/project_export.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index d649afc59..a47ad1370 100644
--- a/editor/project_export.cpp
+++ b/editor/project_export.cpp
@@ -732,6 +732,8 @@ void ProjectExportDialog::_export_project_to_path(const String &p_path) {
ERR_FAIL_COND(platform.is_null());
Error err = platform->export_project(current, export_debug->is_pressed(), p_path, 0);
+ if (err != OK)
+ ERR_PRINT("Failed to export project");
}
void ProjectExportDialog::_bind_methods() {