Merge pull request #13424 from MillionOstrich/particles-pause-fix

Stop particles resetting on pause.
This commit is contained in:
Rémi Verschelde 2017-12-09 16:37:02 +01:00 committed by GitHub
commit 4d6f8f89ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ void main() {
#endif
}
} else {
} else if(delta > 0.0) {
if (restart_phase >= prev_system_phase) {
restart=true;
#ifdef USE_FRACTIONAL_DELTA