Browse Source

Renaming _move_autosaves() to _rotate_autosaves()

pull/19/head
Ryan Reed 1 month ago
parent
commit
15a1fd8cc6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      addons/save_load_system/autoloads/save_game_manager.gd

+ 2
- 2
addons/save_load_system/autoloads/save_game_manager.gd View File

@ -107,7 +107,7 @@ func _create_autosave() -> void:
autosave_start.emit()
_move_autosaves()
_rotate_autosaves()
var autosave_filename: String = _save_game_settings.autosave_file_name_prepend + "01.tres"
_save_game_as_resource("Auto Save", autosave_filename)
@ -177,7 +177,7 @@ func _load_save_settings() -> bool:
return true
## Increment autosave numbers and if we've reach max number of autosaves, remove the oldest one
func _move_autosaves() -> void:
func _rotate_autosaves() -> void:
var saves_dir = DirAccess.open(_save_game_settings.save_game_data_path)
if saves_dir == null:
DirAccess.make_dir_absolute(_save_game_settings.save_game_data_path)


Loading…
Cancel
Save