Explorar o código

Fix typo in code example (#3274)

Co-authored-by: Stefan Rank <[email protected]>
strank %!s(int64=5) %!d(string=hai) anos
pai
achega
43d5f7a40a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tutorials/io/background_loading.rst

+ 1 - 1
tutorials/io/background_loading.rst

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