Skip to content

Commit

Permalink
update rtti register
Browse files Browse the repository at this point in the history
  • Loading branch information
Nats-ji committed Oct 27, 2023
1 parent 3d00882 commit 79ceeba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CETMM/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ RED4EXT_C_EXPORT bool RED4EXT_CALL Main(RED4ext::PluginHandle aHandle, RED4ext::
case RED4ext::EMainReason::Load:
{
Initialize();
RED4ext::RTTIRegistrator::Add(RegisterTypes, PostRegisterTypes);

RED4ext::CRTTISystem::Get()->AddRegisterCallback(RegisterTypes);
RED4ext::CRTTISystem::Get()->AddPostRegisterCallback(PostRegisterTypes);

break;
}
Expand Down

0 comments on commit 79ceeba

Please sign in to comment.