diff --git a/gamedata/objects/ingame/player.py b/gamedata/objects/ingame/player.py index 55a40bc..94ea22b 100644 --- a/gamedata/objects/ingame/player.py +++ b/gamedata/objects/ingame/player.py @@ -227,7 +227,7 @@ class Player(Movable): offy = self.game.lib.randint(-8,8) self.game.addParticle(self.bubble,self.rect.center[0]+offx,self.rect.center[1]+offy,fps=2,depth=3,vely=-0.1) - if self.rect.center[1]>self.game.globals["cameray"]+self.game.globals["camerah"]: + if self.gravityway>0 and self.rect.center[1]>self.game.globals["cameray"]+self.game.globals["camerah"]: self.die() for i in self.spikes: if i.collidepoint(self.rect.center):