Fix regression in GPU Particle collisions in editor

This commit is contained in:
Wojtek Figat
2024-05-20 18:12:35 +02:00
parent e3a030fad8
commit 9b01229e58

View File

@@ -371,7 +371,7 @@ void ParticleEffect::Sync()
SceneRenderTask* ParticleEffect::GetRenderTask() const
{
const uint64 minFrame = Engine::UpdateCount - 2;
const uint64 minFrame = Engine::FrameCount - 2;
// Custom task
const auto customViewRenderTask = CustomViewRenderTask.Get();