diff --git a/src/game/server/ddracechat.cpp b/src/game/server/ddracechat.cpp index 6adc4c0c0..394f1677d 100644 --- a/src/game/server/ddracechat.cpp +++ b/src/game/server/ddracechat.cpp @@ -753,6 +753,8 @@ void CGameContext::ConSayTime(IConsole::IResult *pResult, void *pUserData) CCharacter* pChr = pPlayer->GetCharacter(); if (!pChr) return; + if(pChr->m_DDRaceState != DDRACE_STARTED) + return; char aBuftime[64]; int IntTime = (int) ((float) (pSelf->Server()->Tick() - pChr->m_StartTime) @@ -775,6 +777,8 @@ void CGameContext::ConSayTimeAll(IConsole::IResult *pResult, void *pUserData) CCharacter* pChr = pPlayer->GetCharacter(); if (!pChr) return; + if(pChr->m_DDRaceState != DDRACE_STARTED) + return; char aBuftime[64]; int IntTime = (int) ((float) (pSelf->Server()->Tick() - pChr->m_StartTime)