mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #567 from d3fault/master
dummy copyMoves/hammer disabling when dummy connecting
This commit is contained in:
commit
c21399c4c5
|
@ -841,6 +841,9 @@ void CClient::DummyConnect()
|
|||
|
||||
m_DummySendConnInfo = true;
|
||||
|
||||
g_Config.m_ClDummyCopyMoves = 0;
|
||||
g_Config.m_ClDummyHammer = 0;
|
||||
|
||||
//connecting to the server
|
||||
m_NetClient[1].Connect(&m_ServerAddress);
|
||||
}
|
||||
|
|
|
@ -619,7 +619,6 @@ void CGameClient::OnDummyDisconnect()
|
|||
m_DDRaceMsgSent[1] = false;
|
||||
m_ShowOthers[1] = -1;
|
||||
m_LastNewPredictedTick[1] = -1;
|
||||
g_Config.m_ClDummyCopyMoves = 0;
|
||||
}
|
||||
|
||||
void CGameClient::OnRelease()
|
||||
|
|
Loading…
Reference in a new issue