diff --git a/source/simulation2/Simulation2.cpp b/source/simulation2/Simulation2.cpp index 8a5a0d9f33..7f0fb43737 100644 --- a/source/simulation2/Simulation2.cpp +++ b/source/simulation2/Simulation2.cpp @@ -234,6 +234,9 @@ void CSimulation2Impl::Interpolate(float frameLength, float frameOffset) CMessageInterpolate msg(frameLength, frameOffset); m_ComponentManager.BroadcastMessage(msg); + + // Clean up any entities destroyed during interpolate (e.g. local corpses) + m_ComponentManager.FlushDestroyedComponents(); } void CSimulation2Impl::DumpState()