2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-29 08:05:36 +03:00

Fix: get a first edict from AMXX_Attach

This commit is contained in:
s1lentq 2016-10-12 02:22:35 +07:00
parent 5ffedc69cb
commit f6d0f02e6a

View File

@ -22,6 +22,7 @@ void OnAmxxAttach()
{ {
// initialize API // initialize API
api_cfg.Init(); api_cfg.Init();
g_pEdicts = g_engfuncs.pfnPEntityOfEntIndex(0);
} }
bool OnMetaAttach() bool OnMetaAttach()