mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 12:33:14 +00:00
Fix CLI exporting even though an unknown option has been provided
Allowing exporting even if an unknown option has been provided could lead to unexpected results
This commit is contained in:
parent
04caa5f7f5
commit
bc4b4dff0f
1 changed files with 2 additions and 0 deletions
|
@ -351,7 +351,9 @@ func _handle_cmdline_arguments() -> void:
|
|||
if arg.similarity(compare_arg) >= 0.4:
|
||||
print("Similar option: %s" % compare_arg)
|
||||
print("==========")
|
||||
should_export = false
|
||||
get_tree().quit()
|
||||
break
|
||||
if should_export:
|
||||
Export.external_export(project)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue