Closed stolk closed 1 year ago
The particle system is from this upstream: https://github.com/google/liquidfun So ideally it would have to be fixed there, but pretty sure it is effectively abandoned (I used to work on that team).
Don't mind fixing it here also, given that those files are unlikely to be updated at the source, but worth opening an issue/PR there too just in case someone at Google is still listening :)
Don't use uninitialised expiration values.
The particle system tries to be lazy when setting expiration values. When doing so, it will compare the new value to an uninitialised value. We should set the value to zero, before we ever compare to it.