Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stray print statment, fix extension creator mode #2444

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion addons/dialogic/Editor/Common/sidebar.gd
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ func update_resource_list(resources_list: PackedStringArray = []) -> void:

# Sort the folder names by their folder name (not by the full path)
var sorted_dir_keys := unique_folder_names.keys()
print(sorted_dir_keys)
sorted_dir_keys.sort_custom(
func(x, y):
return x.get_slice("/", x.get_slice_count("/")-1) < y.get_slice("/", y.get_slice_count("/")-1)
Expand Down
2 changes: 1 addition & 1 deletion addons/dialogic/Editor/Settings/settings_general.gd
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func _on_submit_extension_button_pressed() -> void:

var file: FileAccess
var indexer_content := "@tool\nextends DialogicIndexer\n\n"
if mode != 1: # don't add event in Subsystem Only mode
if mode != 2: # don't add event in Subsystem Only mode
indexer_content += """func _get_events() -> Array:
return [this_folder.path_join('event_"""+%NameEdit.text.to_snake_case()+""".gd')]\n\n"""
file = FileAccess.open(extensions_folder.path_join('event_'+%NameEdit.text.to_snake_case()+'.gd'), FileAccess.WRITE)
Expand Down
Loading