mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
how did that happen
This commit is contained in:
parent
6f75b661b0
commit
c6f0bf7500
|
@ -18,6 +18,7 @@ void CGameTeams::OnCharacterStart(int id) {
|
|||
int Tick = Server()->Tick();
|
||||
if(m_Core.Team(id) == TEAM_FLOCK || m_Core.Team(id) == TEAM_SUPER) {
|
||||
CCharacter* Char = Character(id);
|
||||
if(!Char) return; // for some reason i had a crash here
|
||||
Char->m_DDRaceState = DDRACE_STARTED;
|
||||
Char->m_StartTime = Tick;
|
||||
Char->m_RefreshTime = Tick;
|
||||
|
|
Loading…
Reference in a new issue