Przeglądaj źródła

Update background_loading.rst

Simple typo fix
BARICHELLO 7 lat temu
rodzic
commit
6c57f2967e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tutorials/io/background_loading.rst

+ 1 - 1
tutorials/io/background_loading.rst

@@ -276,7 +276,7 @@ Example:
     # suppose your game starts with a 10 second cutscene, during which the user can't interact with the game.
     # For that time we know they won't use the pause menu, so we can queue it to load during the cutscene:
     queue.queue_resource("res://pause_menu.tres")
-    start_curscene()
+    start_cutscene()
 
     # later when the user presses the pause button for the first time:
     pause_menu = queue.get_resource("res://pause_menu.tres").instance()