aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Autoload/SaveManager.gd
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/Game/Autoload/SaveManager.gd')
-rw-r--r--game/src/Game/Autoload/SaveManager.gd2
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)