Godot Version
4.2.2.stable
Question
Hi everyone!
I tried to delete a save file with the DirAccess.remove_absolute() function and it just won’t work. The code reaches the remove_absolute() command and the file exists. I also get no error.
Code:
func delete_game(save_id):
var save_game_path = "user//savegame{id}.tres"
var formated_path = save_game_path.format({"id": save_id})
DirAccess.remove_absolute(formated_path)