diff --git a/client/src/runtime/CSharpResourceImpl.cpp b/client/src/runtime/CSharpResourceImpl.cpp index 90f1376..30902e1 100644 --- a/client/src/runtime/CSharpResourceImpl.cpp +++ b/client/src/runtime/CSharpResourceImpl.cpp @@ -696,12 +696,6 @@ void CSharpResourceImpl::OnCreateBaseObject(alt::IBaseObject* object) OnCreateBaseObjectDelegate(audioFilter, audioFilter->GetType(), audioFilter->GetID()); break; } - case alt::IBaseObject::Type::RML_ELEMENT: - { - auto rmlElement = dynamic_cast(object); - OnCreateBaseObjectDelegate(rmlElement, rmlElement->GetType(), rmlElement->GetID()); - break; - } case alt::IBaseObject::Type::RML_DOCUMENT: { auto rmlDocument = dynamic_cast(object);