Merge pull request #717 from mikeparker/patch-1

Fix ParticleEmitters always using same random seed
This commit is contained in:
Lucas Girouard-Stranks
2021-01-04 20:16:45 -05:00
committed by GitHub
@@ -11,7 +11,7 @@ namespace MonoGame.Extended.Particles
{
public unsafe class ParticleEmitter : IDisposable
{
private readonly FastRandom _random = new FastRandom();
private readonly FastRandom _random = new FastRandom(Math.Abs(Guid.NewGuid().GetHashCode()));
private float _totalSeconds;
[JsonConstructor]