You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename Variant::is_ref() to is_ref_counted()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user