fix: isolate controller settings side effects

This commit is contained in:
Alexander Sellite 2026-08-16 20:53:15 -04:00
parent a8be597d27
commit 7aaed6393b
6 changed files with 40 additions and 16 deletions

View file

@ -623,7 +623,10 @@ func _open_data_folder() -> void:
if _data_root == null:
_feedback.text = "the data folder is unavailable."
return
if not _data_root.open_folder():
if (
_data_root.root_path.is_empty()
or OS.shell_open(_data_root.root_path) != OK
):
_feedback.text = "could not open the data folder."