Browse Source

Removing save icon when deleting save

pull/16/head
Ryan Reed 1 month ago
parent
commit
5b4cf461f4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      save_load/autoloads/save_game_manager.gd

+ 1
- 0
save_load/autoloads/save_game_manager.gd View File

@ -181,3 +181,4 @@ func _on_delete_save_file(filename: String) -> void:
var save_file_path: String = _save_level_data_component.settings.save_game_data_path + filename var save_file_path: String = _save_level_data_component.settings.save_game_data_path + filename
DirAccess.remove_absolute(save_file_path) DirAccess.remove_absolute(save_file_path)
DirAccess.remove_absolute(save_file_path.replace(".tres", ".png")) # Delete icon

Loading…
Cancel
Save