Fixed player's dust

This commit is contained in:
theo@manjaro 2021-11-17 15:18:40 +01:00
parent c1ab414aeb
commit 1c25591197
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class Player(Movable):
if self.fastfall:
self.fastfall = False
# Spawns dust
self.game.addParticle(self.dustparticles,self.rect.center[0],self.rect.bottom,fps=25)
self.game.addParticle(self.dustparticles,self.rect.center[0],self.rect.center[1]+self.rect[3]/2*self.gravityway,fps=25)
if self.gravityway > 0:
self.verspd=min(0,self.verspd)
else: