Add a null checking to GDScript::_super_implicit_constructor
This commit is contained in:
parent
68b86220c8
commit
c9ad370f20
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ void GDScript::_super_implicit_constructor(GDScript *p_script, GDScriptInstance
|
|||
return;
|
||||
}
|
||||
}
|
||||
ERR_FAIL_NULL(p_script->implicit_initializer);
|
||||
p_script->implicit_initializer->call(p_instance, nullptr, 0, r_error);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue