Merge pull request #308 from Arkshine/fix/cstrike-meta-return

Fix missing meta return in ServerActivate
This commit is contained in:
Vincent Herbet 2015-11-23 00:47:21 +01:00
commit 91f02b145b

View File

@ -91,11 +91,15 @@ void OnServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
{
// Used to catch WeaponList message at map change.
EnableMessageHooks();
RETURN_META(MRES_IGNORED);
}
void OnServerActivate_Post(edict_t *pEdictList, int edictCount, int clientMax)
{
DisableMessageHooks();
RETURN_META(MRES_IGNORED);
}
void OnPluginsUnloaded()