Valve: Check for cvar 'coop' as well as 'sv_playerslots' for Singleplayer

This commit is contained in:
Marco Cawthorne 2020-03-26 07:03:29 +01:00
parent 7ea6f8246c
commit 520e91616a

View file

@ -317,7 +317,7 @@ Game_PutClientInServer(void)
forceinfokey(pl, "*spec", "0");
forceinfokey(self, "*deaths", ftos(self.deaths));
if (cvar("sv_playerslots") == 1) {
if (cvar("sv_playerslots") == 1 || cvar("coop") == 1) {
Game_DecodeChangeParms();
if (startspot != "") {