server side fix for can't switch weapon on sekret bootcamp

bugs_

Veteran XV
Hey there is an annoying bug on the sekret bootcamp server that won't let you switch weapons on the first spawn of your first connection.

It turns out that the new fancy team select menu sets %client.observerMode to "pickingTeam" but does not clear this after you select a team.

Later in the remoteNextWeapon() function the first line does this:

if(!(%client.observerMode == "" || %client.observerMode == "pregame"))return ;

So it looks like A fix would be to clear the observerMode value in Game::playerSpawn()

i.e.:

%clientId.observerMode = "";

(or you could fix this in the fancy team select menu)

Please fix! thanks in advance, your pal, bugs_
 
Back
Top