aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scene/2d/particles_2d.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp
index d2c8faad0..7c6a67a68 100644
--- a/scene/2d/particles_2d.cpp
+++ b/scene/2d/particles_2d.cpp
@@ -453,6 +453,9 @@ void Particles2D::_notification(int p_what) {
case NOTIFICATION_ENTER_TREE: {
+ // For projects saved before "process_mode" was introduced
+ set_process_mode(process_mode);
+
float ppt = preprocess;
while (ppt > 0) {
_process_particles(0.1);