Better fix.

This commit is contained in:
Chandler Cox
2023-10-21 14:08:23 -05:00
parent ad15c5b2fc
commit 7d9991999d
2 changed files with 6 additions and 1 deletions

View File

@@ -1318,7 +1318,8 @@ void ParticlesSystem::Job(int32 index)
emitterInstance.Buffer = nullptr;
}
}
effect->Stop();
// Set is playing to false because it is not playing anymore.
effect->Pause();
return;
}
}