tighogg

fighting game for the terminal
git clone https://git.ce9e.org/tighogg.git

commit
7f1fe6dd62f20bad9982cb7930a1c92e91f5aa7d
parent
952337d4891b8115daa1c48af4fe37dbdaeef435
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2021-05-09 16:06
consistently use game.direction shortcut

Diffstat

M tighogg.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/tighogg.py b/tighogg.py

@@ -267,7 +267,7 @@ class Game:
  267   267                     player.step()
  268   268                     player.cooldown -= 1
  269   269 
  270    -1                 if self.leader.base_direction == LEFT:
   -1   270                 if self.direction == LEFT:
  271   271                     if self.leader.x < 0:
  272   272                         self.running = False
  273   273                 else: