Merge pull request #51456 from SaracenOne/super_init_fix
Call _init on base class if one does not exist.
This commit is contained in:
commit
0b484c5f5f
2 changed files with 16 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ class GDScript : public Script {
|
|||
|
||||
SelfList<GDScriptFunctionState>::List pending_func_states;
|
||||
|
||||
GDScriptFunction *_super_constructor(GDScript *p_script);
|
||||
void _super_implicit_constructor(GDScript *p_script, GDScriptInstance *p_instance, Callable::CallError &r_error);
|
||||
GDScriptInstance *_create_instance(const Variant **p_args, int p_argcount, Object *p_owner, bool p_is_ref_counted, Callable::CallError &r_error);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue