- commit
- 3438af63740e03e2cad50d4b3c68ed3c938b2e05
- parent
- 91f6f2dbb0e15c6ad3b6cf56c0f3293e4198f8b0
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2021-05-09 07:44
die an abyss
Diffstat
| M | tighogg.py | 5 | +++++ |
1 files changed, 5 insertions, 0 deletions
diff --git a/tighogg.py b/tighogg.py
@@ -260,6 +260,11 @@ class Game: 260 260 ): 261 261 self.straggler.die() 262 262 -1 263 # die on abyss -1 264 for player in self.players: -1 265 if player.cooldown < 0 and player.y > 2 * BLOCK_HEIGHT: -1 266 player.die() -1 267 263 268 # respawn on edge of screen 264 269 if self.straggler.cooldown == 0: 265 270 if self.direction == RIGHT: