Browse Source

Merge pull request #1413 from thunderrabbit/patch-1

Fix capitalization of GDScript OS.get_unique_id()
Poommetee Ketson 7 years ago
parent
commit
85656cf362
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/io/encrypting_save_games.rst

+ 1 - 1
tutorials/io/encrypting_save_games.rst

@@ -59,7 +59,7 @@ some unique user identifier is needed, for example:
  .. code-tab:: gdscript GDScript
 
     var f = File.new()
-    var err = f.open_encrypted_with_pass("user://savedata.bin", File.WRITE, OS.get_unique_ID())
+    var err = f.open_encrypted_with_pass("user://savedata.bin", File.WRITE, OS.get_unique_id())
     f.store_var(game_state)
     f.close()