summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-17 21:59:57 +0100
committerGitHub <noreply@github.com>2020-11-17 21:59:57 +0100
commit8ac9a979562384a961f0c5ac4b72bda75f645e92 (patch)
tree1193363baf2bf8d4b7d58981076df1b433b15a5c /main
parentbfb6c97da433683e9403b5a8d3c8da01069dddf5 (diff)
parent032a1c5dc34b8ebb785b2d34148138d4d16b9059 (diff)
Merge pull request #43621 from Faless/fix/4.x_cli_export
Fix CLI export when export_path is in preset.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 29497cd1cf..51d2cbfe71 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1890,14 +1890,6 @@ bool Main::start() {
return false;
}
- if (_export_preset != "") {
- if (positional_arg == "") {
- String err = "Command line includes export parameter option, but no destination path was given.\n";
- err += "Please specify the binary's file path to export to. Aborting export.";
- ERR_PRINT(err);
- return false;
- }
- }
#endif
if (script == "" && game_path == "" && String(GLOBAL_DEF("application/run/main_scene", "")) != "") {