diff --git a/src/core/timing_event.cpp b/src/core/timing_event.cpp index dad7a4748..b83e82839 100644 --- a/src/core/timing_event.cpp +++ b/src/core/timing_event.cpp @@ -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)