mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 23:10:08 +01:00
Merge pull request #877 from InfiniteProductions/loading/serialization-demo-fixed-to-work-with-Godot-4
loading/serialization demo fixed to work with Godot 4 stable
This commit is contained in:
@@ -34,7 +34,7 @@ func save_game():
|
||||
position = var_to_str(enemy.position),
|
||||
})
|
||||
|
||||
file.store_line(JSON.new().stringify(save_dict))
|
||||
file.store_line(JSON.stringify(save_dict))
|
||||
|
||||
get_node(^"../LoadJSON").disabled = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user