diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-01-20 22:01:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 22:01:37 +0100 |
commit | d681d99e126bcac87823510ba2a71af0ace6e8dc (patch) | |
tree | a9f5eaf4ecf107dff251486b207fd732776b2a8c /modules/gdscript/gdscript_function.cpp | |
parent | 04d283dc230e20f0e744768aa7645f414a8e88b6 (diff) | |
parent | 7b0ed2aa5e4b9d9807037d57f0fc80fe8dd6fb39 (diff) | |
download | redot-engine-d681d99e126bcac87823510ba2a71af0ace6e8dc.tar.gz |
Merge pull request #52134 from RandomShaper/fix_naming
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; |