Browse Source

Merge pull request #577 from islemaster/patch-1

Fix typo in Background Loading example
Chris Bradfield 7 năm trước cách đây
mục cha
commit
14390d4411
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      learning/features/misc/background_loading.rst

+ 1 - 1
learning/features/misc/background_loading.rst

@@ -105,7 +105,7 @@ with the main scene of the game:
 
 The function ``goto_scene`` is called from the game when the scene
 needs to be switched. It requests an interactive loader, and calls
-``set_progress(true)`` to start polling the loader in the ``_progress``
+``set_process(true)`` to start polling the loader in the ``_process``
 callback. It also starts a "loading" animation, which can show a
 progress bar or loading screen, etc.