diff options
author | SamSindt <samsground@gmail.com> | 2019-06-06 12:49:48 -0700 |
---|---|---|
committer | SamSindt <samsground@gmail.com> | 2019-06-06 12:49:48 -0700 |
commit | 6a23eff748b671a0a34962356d8ac36626b90f5b (patch) | |
tree | b9d9f83e28e171154d8698e71ffebfd387d7c263 /scene/2d | |
parent | 197b65f32ac811f79bc5599fbfe8cf83914b6873 (diff) |
Reversed operator in SortLifetime fixing #29440
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/cpu_particles_2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/cpu_particles_2d.h b/scene/2d/cpu_particles_2d.h index 23d2586331..81343a4604 100644 --- a/scene/2d/cpu_particles_2d.h +++ b/scene/2d/cpu_particles_2d.h @@ -116,7 +116,7 @@ private: const Particle *particles; bool operator()(int p_a, int p_b) const { - return particles[p_a].time < particles[p_b].time; + return particles[p_a].time > particles[p_b].time; } }; |