Merge pull request #62317 from Black-Cat/release-return-fix
This commit is contained in:
commit
e3fb066cb0
@ -3432,9 +3432,9 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
|
|||||||
_err_print_error(err_func.utf8().get_data(), err_file.utf8().get_data(), err_line, err_text.utf8().get_data(), false, ERR_HANDLER_SCRIPT);
|
_err_print_error(err_func.utf8().get_data(), err_file.utf8().get_data(), err_line, err_text.utf8().get_data(), false, ERR_HANDLER_SCRIPT);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
// Get a default return type in case of failure
|
// Get a default return type in case of failure
|
||||||
retvalue = _get_default_variant_for_data_type(return_type);
|
retvalue = _get_default_variant_for_data_type(return_type);
|
||||||
|
#endif
|
||||||
|
|
||||||
OPCODE_OUT;
|
OPCODE_OUT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user