Skip to content

Commit

Permalink
fix(client): fix rmlelement crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Sep 15, 2024
1 parent 8a6dcc7 commit 4837f36
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions client/src/runtime/CSharpResourceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<alt::IRmlElement*>(object);
OnCreateBaseObjectDelegate(rmlElement, rmlElement->GetType(), rmlElement->GetID());
break;
}
case alt::IBaseObject::Type::RML_DOCUMENT:
{
auto rmlDocument = dynamic_cast<alt::IRmlDocument*>(object);
Expand Down

0 comments on commit 4837f36

Please sign in to comment.