shavit-replay-playback: hook triggers on late-load

This commit is contained in:
rtldg 2024-07-11 09:58:18 +00:00
parent 4652e36cc6
commit e35e835841

View File

@ -503,6 +503,16 @@ public void OnPluginStart()
{
OnAdminMenuReady(gH_AdminMenu);
}
for (int entity = MaxClients+1, last = GetMaxEntities(); entity <= last; ++entity)
{
if (IsValidEntity(entity))
{
char classname[64];
GetEntityClassname(entity, classname, sizeof(classname));
OnEntityCreated(entity, classname);
}
}
}
for(int i = 1; i < sizeof(gA_BotInfo); i++)