mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Reversed operator in SortLifetime fixing #29440
This commit is contained in:
parent
197b65f32a
commit
6a23eff748
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user