Merge pull request #43856 from vnen/gdscript-some-fixes

A couple of GDScript fixes
This commit is contained in:
Rémi Verschelde 2020-11-25 17:13:41 +01:00 committed by GitHub
commit fc28de64c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View file

@ -437,7 +437,7 @@ GDScriptCodeGenerator::Address GDScriptCompiler::_parse_expression(CodeGen &code
gen->pop_temporary();
}
return source;
return result;
} break;
case GDScriptParser::Node::CALL: {
const GDScriptParser::CallNode *call = static_cast<const GDScriptParser::CallNode *>(p_expression);