diff options
author | Dmitrii Maganov <vonagam@gmail.com> | 2023-02-26 08:30:33 +0200 |
---|---|---|
committer | Dmitrii Maganov <vonagam@gmail.com> | 2023-02-26 08:30:46 +0200 |
commit | 4efaf156059875a972317572100d30728b12baa5 (patch) | |
tree | fe115984ded92bab7f5c61e57cf607ca2edb96c0 /modules | |
parent | 84a80721c5308df36c7295949c76a622c5e0edb9 (diff) |
GDScript: Fix address type for coroutine results
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_compiler.cpp b/modules/gdscript/gdscript_compiler.cpp index 35c9946bc1..60b8c8f880 100644 --- a/modules/gdscript/gdscript_compiler.cpp +++ b/modules/gdscript/gdscript_compiler.cpp @@ -85,7 +85,7 @@ void GDScriptCompiler::_set_error(const String &p_error, const GDScriptParser::N } GDScriptDataType GDScriptCompiler::_gdtype_from_datatype(const GDScriptParser::DataType &p_datatype, GDScript *p_owner) { - if (!p_datatype.is_set() || !p_datatype.is_hard_type()) { + if (!p_datatype.is_set() || !p_datatype.is_hard_type() || p_datatype.is_coroutine) { return GDScriptDataType(); } |