diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-08-26 21:37:17 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2022-01-20 18:46:25 +0100 |
commit | 7b0ed2aa5e4b9d9807037d57f0fc80fe8dd6fb39 (patch) | |
tree | 8a0d5a5d7725280f4d0fb7aa81a867cfa319061f /modules/gdscript/gdscript_function.cpp | |
parent | 8b8e858778bbf9e0dad66335f351920332c547de (diff) | |
download | redot-engine-7b0ed2aa5e4b9d9807037d57f0fc80fe8dd6fb39.tar.gz |
Rename Variant::is_ref() to is_ref_counted()
Diffstat (limited to 'modules/gdscript/gdscript_function.cpp')
-rw-r--r-- | modules/gdscript/gdscript_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_function.cpp b/modules/gdscript/gdscript_function.cpp index f1877df326..9424de9d22 100644 --- a/modules/gdscript/gdscript_function.cpp +++ b/modules/gdscript/gdscript_function.cpp @@ -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; |