mirror of
https://github.com/godotengine/godot
synced 2024-09-05 05:18:29 +00:00
Add a null checking to GDScript::_super_implicit_constructor
This commit is contained in:
parent
68b86220c8
commit
c9ad370f20
|
@ -128,6 +128,7 @@ void GDScript::_super_implicit_constructor(GDScript *p_script, GDScriptInstance
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ERR_FAIL_NULL(p_script->implicit_initializer);
|
||||||
p_script->implicit_initializer->call(p_instance, nullptr, 0, r_error);
|
p_script->implicit_initializer->call(p_instance, nullptr, 0, r_error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue