mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +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
|
@ -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…
Reference in a new issue