mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Merge pull request #3528 from mtttz/master
Replace outdated identifier in example code
This commit is contained in:
@@ -1507,7 +1507,7 @@ Remember to save the new function state, when using multiple ``yield``\s::
|
||||
|
||||
func _ready():
|
||||
var co = co_func();
|
||||
while co is GDScriptFunction && co.is_valid():
|
||||
while co is GDScriptFunctionState && co.is_valid():
|
||||
co = co.resume();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user