浏览代码

Merge pull request #169 from Brickcaster/master

Fixed a filename typo in script
Rémi Verschelde 9 年之前
父节点
当前提交
cff9fcb9ed
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/engine/saving_games.rst

+ 1 - 1
tutorials/engine/saving_games.rst

@@ -121,7 +121,7 @@ load function:
 
         # Load the file line by line and process that dictionary to restore the object it represents
         var currentline = {} # dict.parse_json() requires a declared dict.
-        savegame.open("user://Invasionsave.save", File.READ)
+        savegame.open("user://savegame.save", File.READ)
         while (!savegame.eof_reached()):
             currentline.parse_json(savegame.get_line())
             # First we need to create the object and add it to the tree and set its position.