begun work on lab
This commit is contained in:
parent
acf9628d4c
commit
fa7352bc73
4 changed files with 125 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue