Counter-Strike: Don't open VGUI in singleplayer upon start.

This commit is contained in:
Marco Cawthorne 2019-09-01 06:20:00 +02:00
parent 97aa368f67
commit 0968ee7756

View file

@ -49,7 +49,10 @@ void Client_Init(float apilevel, string enginename, float engineversion)
void Client_InitDone(void)
{
VGUI_ChooseTeam();
/* don't open this in singleplayer */
if (serverkeyfloat("slots") > 1) {
VGUI_ChooseTeam();
}
}
void Game_RendererRestarted(string rstr)