Revert "Fix client use-after-free reported by mmmds"

Seems to cause problems:

> Hussain wrote
> :last update+ beta
> my dummy stuck ( this second time)
> disconnect and connect again useless still stuck
> and disconnect server too
> have to restart the game

This reverts commit ce2f29b5f1.
This commit is contained in:
def 2021-08-04 16:30:25 +02:00
parent 4a77882fcc
commit 7dcca97900

View file

@ -655,12 +655,6 @@ void CClient::EnterGame()
if(State() == IClient::STATE_DEMOPLAYBACK)
return;
if(State() == IClient::STATE_ONLINE)
{
// Don't reset everything while already in game.
return;
}
// now we will wait for two snapshots
// to finish the connection
SendEnterGame();