Fixed dependencies of NotValidState on the Game class.

This commit is contained in:
2013-01-10 17:35:18 -04:30
parent 3371abbee2
commit 321a4fa91c
2 changed files with 2 additions and 4 deletions

View File

@@ -149,7 +149,7 @@ class ParticleSystem:
float(random.randrange(-self.initial_velocity_max, self.initial_velocity_max))]
particle = Particle(
int(self.lifespan),
max(min(random.random(), 1.0), 0.5),
max(min(random.random(), 1.0), 0.2),
self.texture,
list(self.gravity),
list(self.position),