mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix a possible issue with the ghost
This commit is contained in:
parent
d4509111d5
commit
612fe15a32
|
@ -203,6 +203,8 @@ void CGhost::OnNewSnapshot(bool Predicted)
|
|||
{
|
||||
if(m_Recording && s_LastRaceTick != -1)
|
||||
m_AllowRestart = true;
|
||||
if(s_LastRaceTick == -1)
|
||||
m_NewRenderTick = -1;
|
||||
if(GhostRecorder()->IsRecording())
|
||||
GhostRecorder()->Stop(0, -1);
|
||||
int StartTick = RaceTick;
|
||||
|
|
Loading…
Reference in a new issue