TimingEvent: Fix event list getting unsorted on Delay

This commit is contained in:
Connor McLaughlin 2021-07-31 13:25:03 +10:00
parent 642f8041e9
commit b41d56d305

View file

@ -401,6 +401,9 @@ void TimingEvent::Delay(TickCount ticks)
}
m_downcount += ticks;
DebugAssert(TimingEvents::s_current_event != this);
TimingEvents::SortEvent(this);
}
void TimingEvent::Schedule(TickCount ticks)