Merge pull request #41881 from ThakeeNathees/crash-on-builtin-constructor

GDScript crash on builtin type constructor fix
This commit is contained in:
George Marques 2020-10-08 19:35:35 -03:00 committed by GitHub
commit fe6109101f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -529,6 +529,7 @@ void GDScriptByteCodeGenerator::write_construct(const Address &p_target, Variant
append(p_arguments[i]);
}
append(p_target);
alloc_call(p_arguments.size());
}
void GDScriptByteCodeGenerator::write_construct_array(const Address &p_target, const Vector<Address> &p_arguments) {