mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #8168 from Robyt3/Dummy-Tuning-Reset
Reset tuning of dummy and main when disconnecting
This commit is contained in:
commit
94323b7704
|
@ -538,6 +538,8 @@ void CGameClient::OnReset()
|
|||
|
||||
m_aReceivedTuning[0] = false;
|
||||
m_aReceivedTuning[1] = false;
|
||||
m_aTuning[0] = CTuningParams();
|
||||
m_aTuning[1] = CTuningParams();
|
||||
|
||||
InvalidateSnapshot();
|
||||
|
||||
|
@ -553,7 +555,6 @@ void CGameClient::OnReset()
|
|||
m_LastRoundStartTick = -1;
|
||||
m_LastFlagCarrierRed = -4;
|
||||
m_LastFlagCarrierBlue = -4;
|
||||
m_aTuning[g_Config.m_ClDummy] = CTuningParams();
|
||||
|
||||
m_NextChangeInfo = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue