begun work on lab

This commit is contained in:
pennyrigate 2023-08-03 19:48:56 -04:00
parent acf9628d4c
commit fa7352bc73
4 changed files with 125 additions and 3 deletions

View file

@ -145,6 +145,8 @@ func _ready() -> void:
current_file = load_file("user://file%d.pr" % Options.last_file)
if current_file:
Game.difficulty = current_file.difficulty
else:
current_file = SaveFile.new("user://testing.pr")
## shortcut for loading a save file from specific path
func load_file(path: String) -> SaveFile: