From bbc98be3176c848af49f95a80f8abee1f8516fa8 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 20 Mar 2018 14:17:17 +0700 Subject: Add socket client example and fix enemy-fall-of-the-map bug --- brutalmaze/game.py | 2 +- brutalmaze/maze.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'brutalmaze') diff --git a/brutalmaze/game.py b/brutalmaze/game.py index b78e375..cbe5e6c 100644 --- a/brutalmaze/game.py +++ b/brutalmaze/game.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Brutal Maze. If not, see . -__version__ = '0.6.3' +__version__ = '0.6.4' import re from argparse import ArgumentParser, FileType, RawTextHelpFormatter diff --git a/brutalmaze/maze.py b/brutalmaze/maze.py index 0516cb5..665d9c3 100644 --- a/brutalmaze/maze.py +++ b/brutalmaze/maze.py @@ -323,8 +323,8 @@ class Maze: self.next_move -= 1000.0 / self.fps self.next_slashfx -= 1000.0 / self.fps + self.rotate() if dx or dy: - self.rotate() for enemy in self.enemies: enemy.wake() for bullet in self.bullets: bullet.place(dx, dy) -- cgit 1.4.1