Procházet zdrojové kódy

Update background_loading.rst

get_progress, not get_process :P
Dillybob92 před 8 roky
rodič
revize
bcc8fdc24d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      learning/features/misc/background_loading.rst

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

@@ -290,7 +290,7 @@ Example:
     if queue.is_ready("res://level_1.xml"):
         show_new_level(queue.get_resource("res://level_1.xml"))
     else:
-        update_progress(queue.get_process("res://level_1.xml"))
+        update_progress(queue.get_progress("res://level_1.xml"))
 
     # when the user walks away from the trigger zone in your Metroidvania game:
     queue.cancel_resource("res://zone_2.xml")