Counter-Strike: Don't open VGUI in singleplayer upon start.
This commit is contained in:
parent
97aa368f67
commit
0968ee7756
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue