Swap arguments of ResourceSaver.save()

This commit is contained in:
Evanaellio
2022-09-21 22:30:25 +02:00
parent 84278a443a
commit bc35550dc5
3 changed files with 6 additions and 6 deletions

View File

@@ -243,4 +243,4 @@ This is useful when you want to generate a mesh and then use it later without ha
.. code-tab:: gdscript GDScript
# Saves mesh to a .tres file with compression enabled.
ResourceSaver.save("res://sphere.tres", mesh, ResourceSaver.FLAG_COMPRESS)
ResourceSaver.save(mesh, "res://sphere.tres", ResourceSaver.FLAG_COMPRESS)