diff --git a/src/client/cmds.qc b/src/client/cmds.qc index c85a92e..bb9156b 100644 --- a/src/client/cmds.qc +++ b/src/client/cmds.qc @@ -33,6 +33,13 @@ CMD_ChooseTeam(void) void CMD_BuyMenu(void) { + player pl = (player)pSeat->m_ePlayer; + + /* only in buy zones... */ + if (!(pl.gflags & GF_BUYZONE)) { + return; + } + /* handle both VGUI and text menus */ if (ClientGame_IsUsingVGUI()) VGUI_BuyMenu();