mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-24 20:58:06 +03:00
Merge pull request #308 from Arkshine/fix/cstrike-meta-return
Fix missing meta return in ServerActivate
This commit is contained in:
commit
91f02b145b
@ -91,11 +91,15 @@ void OnServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
|
|||||||
{
|
{
|
||||||
// Used to catch WeaponList message at map change.
|
// Used to catch WeaponList message at map change.
|
||||||
EnableMessageHooks();
|
EnableMessageHooks();
|
||||||
|
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnServerActivate_Post(edict_t *pEdictList, int edictCount, int clientMax)
|
void OnServerActivate_Post(edict_t *pEdictList, int edictCount, int clientMax)
|
||||||
{
|
{
|
||||||
DisableMessageHooks();
|
DisableMessageHooks();
|
||||||
|
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnPluginsUnloaded()
|
void OnPluginsUnloaded()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user