diff options
author | Hop311 <Hop3114@gmail.com> | 2024-03-04 23:51:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 23:51:41 +0100 |
commit | eaae420cd2aca224d15f6276624c2fab882c978a (patch) | |
tree | bacc8f4094eff5514a94b3852e9cec9c28391669 /game/src/Game/Autoload/SaveManager.gd | |
parent | 521f7d3d156f42535fb7574fb36f2726e9d13885 (diff) | |
parent | e2077a0d93be8b2dd48f1ee680809420f1f690d7 (diff) |
Merge pull request #211 from OpenVicProject/for-loop-types
Add types to GDScript for-loop variables
Diffstat (limited to 'game/src/Game/Autoload/SaveManager.gd')
-rw-r--r-- | game/src/Game/Autoload/SaveManager.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Autoload/SaveManager.gd b/game/src/Game/Autoload/SaveManager.gd index eead63c..688e163 100644 --- a/game/src/Game/Autoload/SaveManager.gd +++ b/game/src/Game/Autoload/SaveManager.gd @@ -16,7 +16,7 @@ func _ready() -> void: DirAccess.make_dir_recursive_absolute(saves_dir_path) var saves_dir := DirAccess.open(saves_dir_path) - for file in saves_dir.get_files(): + for file : String in saves_dir.get_files(): var save := SaveResource.new() save.load_save(saves_dir_path.path_join(file)) add_or_replace_save(save, true) |