mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix cheat to finish every map in less than a second
This commit is contained in:
parent
af69765063
commit
f3415c2aa5
|
@ -26,8 +26,8 @@ void CGameTeams::OnCharacterStart(int ClientID)
|
|||
CCharacter* pStartingChar = Character(ClientID);
|
||||
if (!pStartingChar)
|
||||
return;
|
||||
if (pStartingChar->m_DDRaceState == DDRACE_FINISHED)
|
||||
pStartingChar->m_DDRaceState = DDRACE_NONE;
|
||||
if (m_Core.Team(ClientID) != TEAM_FLOCK && pStartingChar->m_DDRaceState == DDRACE_FINISHED)
|
||||
return;
|
||||
if (m_Core.Team(ClientID) == TEAM_FLOCK
|
||||
|| m_Core.Team(ClientID) == TEAM_SUPER)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue