Merge pull request #62071 from Chaosus/gds_null_check_implicit_constructor
Add a null checking to `GDScript::_super_implicit_constructor`
This commit is contained in:
commit
eeb91cec46
@ -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 New Issue
Block a user