Fix particles resetting properties when emitting is toggled

This commit is contained in:
Qbieshay
2025-06-23 23:09:46 +02:00
parent 88b9932ce1
commit b93f6fa1ba
4 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ void CPUParticles3D::set_emitting(bool p_emitting) {
return;
}
if (p_emitting && !use_fixed_seed) {
if (p_emitting && !use_fixed_seed && one_shot) {
set_seed(Math::rand());
}