1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

GDScript crash on builtin type constructor fix

Fix: #41848
This commit is contained in:
Thakee Nathees
2020-09-08 18:33:53 +05:30
parent 0a8c5845e3
commit 279a11bbda

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) {