Add comments to build_preset_list_options()

This commit is contained in:
icenine451 2024-11-13 10:10:07 -05:00
parent ffa7753618
commit 155e331a43

View file

@ -46,6 +46,8 @@ change_preset_dialog() {
build_preset_list_options() {
# This function will build a list of all the systems available for a given preset
# The list will be generated into a Godot temp file and the variable $current_preset_settings
# The other arrays built (all_systems, changed_systems etc.) are also used in the make_preset_changes() function, so this needs to be called in the same memory space as that function at least once
# USAGE: build_preset_list_options "$preset"
if [[ -f "$godot_current_preset_settings" ]]; then
rm -f "$godot_current_preset_settings" # Godot data transfer temp files