2
0
mirror of https://github.com/s1lentq/ReGameDLL_CS.git synced 2025-06-19 17:22:07 +03:00

Call OnCreate after full creation

This commit is contained in:
s1lentq 2022-11-28 18:23:02 +07:00
parent 84f1f5e4c6
commit 2d44adae43

@ -585,9 +585,9 @@ T *GetClassPtr(T *a)
a->pev = pev;
#ifdef REGAMEDLL_API
a->OnCreate();
a->m_pEntity = new W();
a->m_pEntity->m_pContainingEntity = a;
a->OnCreate();
#endif
}