Fix for amb503 - csx module not setting meta result when paused.
This commit is contained in:
parent
6f590c85f6
commit
7b6d4ce699
@ -137,7 +137,9 @@ void ServerActivate_Post( edict_t *pEdictList, int edictCount, int clientMax ){
|
|||||||
|
|
||||||
void PlayerPreThink_Post( edict_t *pEntity ) {
|
void PlayerPreThink_Post( edict_t *pEntity ) {
|
||||||
if ( !isModuleActive() )
|
if ( !isModuleActive() )
|
||||||
return;
|
{
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
|
}
|
||||||
|
|
||||||
CPlayer *pPlayer = GET_PLAYER_POINTER(pEntity);
|
CPlayer *pPlayer = GET_PLAYER_POINTER(pEntity);
|
||||||
if (pPlayer->clearStats && pPlayer->clearStats < gpGlobals->time ){
|
if (pPlayer->clearStats && pPlayer->clearStats < gpGlobals->time ){
|
||||||
@ -296,7 +298,9 @@ void StartFrame_Post(){
|
|||||||
void SetModel_Post(edict_t *e, const char *m){
|
void SetModel_Post(edict_t *e, const char *m){
|
||||||
|
|
||||||
if ( !isModuleActive() )
|
if ( !isModuleActive() )
|
||||||
return;
|
{
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
|
}
|
||||||
|
|
||||||
if ( e->v.owner && m[7]=='w' && m[8]=='_' ){
|
if ( e->v.owner && m[7]=='w' && m[8]=='_' ){
|
||||||
int w_id = 0;
|
int w_id = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user