bugfix: savestation colliding with itself
This commit is contained in:
parent
c5a54977ac
commit
b0c5798328
3 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ const save_path = "user://savegame.save"
|
|||
var is_loading = false
|
||||
|
||||
func save_game():
|
||||
print("Saving game")
|
||||
var save_game = File.new()
|
||||
save_game.open(save_path, File.WRITE)
|
||||
var persistingNodes = get_tree().get_nodes_in_group("Persists")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue