mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
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:
parent
4a77882fcc
commit
7dcca97900
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue