diff options
Diffstat (limited to 'src/classes/wrapped.cpp')
-rw-r--r-- | src/classes/wrapped.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/classes/wrapped.cpp b/src/classes/wrapped.cpp index ad0eefb..594cfef 100644 --- a/src/classes/wrapped.cpp +++ b/src/classes/wrapped.cpp @@ -51,10 +51,7 @@ void Wrapped::_postinitialize() { } godot::internal::gdextension_interface_object_set_instance_binding(_owner, godot::internal::token, this, _get_bindings_callbacks()); if (extension_class) { - Object *obj = dynamic_cast<Object *>(this); - if (obj) { - obj->notification(Object::NOTIFICATION_POSTINITIALIZE); - } + _notificationv(Object::NOTIFICATION_POSTINITIALIZE); } } |