diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index b1a947e6..e57de26f 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -716,7 +716,7 @@ void C_ClientCommand(edict_t *pEntity) if (pPlayer->keys & bit_key) { - if (gpGlobals->time > pPlayer->menuexpire) + if ((pPlayer->menu > 0) && (gpGlobals->time > pPlayer->menuexpire)) { pPlayer->menu = 0; pPlayer->keys = 0;