Merge pull request #41881 from ThakeeNathees/crash-on-builtin-constructor
GDScript crash on builtin type constructor fix
This commit is contained in:
commit
fe6109101f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user