mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 09:23:40 +00:00
Rename Variant::is_ref() to is_ref_counted()
This commit is contained in:
parent
8b8e858778
commit
7b0ed2aa5e
10 changed files with 15 additions and 15 deletions
|
@ -248,7 +248,7 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
|
|||
|
||||
// If the return value is a GDScriptFunctionState reference,
|
||||
// then the function did await again after resuming.
|
||||
if (ret.is_ref()) {
|
||||
if (ret.is_ref_counted()) {
|
||||
GDScriptFunctionState *gdfs = Object::cast_to<GDScriptFunctionState>(ret);
|
||||
if (gdfs && gdfs->function == function) {
|
||||
completed = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue