Merge pull request #56229 from V-Sekai/invalid_setter_assign_fix

This commit is contained in:
Rémi Verschelde 2022-01-11 13:58:01 +01:00 committed by GitHub
commit dcd2364dac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1094,6 +1094,7 @@ GDScriptCodeGenerator::Address GDScriptCompiler::_parse_expression(CodeGen &code
is_in_setter = has_setter && setter_function == codegen.function_name;
member.mode = GDScriptCodeGenerator::Address::MEMBER;
member.address = codegen.script->member_indices[var_name].index;
member.type = codegen.script->member_indices[var_name].data_type;
}
GDScriptCodeGenerator::Address target;