mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Update certain example code snippets to use the new syntax
This commit is contained in:
@@ -205,7 +205,7 @@ current scene and replace it with the requested one.
|
||||
# The solution is to defer the load to a later time, when
|
||||
# we can be sure that no code from the current scene is running:
|
||||
|
||||
call_deferred("_deferred_goto_scene", path)
|
||||
_deferred_goto_scene.call_deferred(path)
|
||||
|
||||
|
||||
func _deferred_goto_scene(path):
|
||||
|
||||
Reference in New Issue
Block a user