about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-08-08 20:05:21 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-08-08 20:05:21 +0700
commit1e7e981e815dc848a55c1325f6a891b427eb75de (patch)
tree40c152725f77138438c69bab994e288460754988
parent6d2f6d6ad3348570664d84c188560cb9ae4aac82 (diff)
downloadbrutalmaze-1e7e981e815dc848a55c1325f6a891b427eb75de.tar.gz
Fix stupid ass bugs 0.8.21
-rw-r--r--brutalmaze/game.py2
-rw-r--r--brutalmaze/maze.py2
-rw-r--r--brutalmaze/settings.ini2
-rwxr-xr-xsetup.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/brutalmaze/game.py b/brutalmaze/game.py
index 083125c..189c6bc 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 <https://www.gnu.org/licenses/>.
 
-__version__ = '0.8.20'
+__version__ = '0.8.21'
 
 import re
 from argparse import ArgumentParser, FileType, RawTextHelpFormatter
diff --git a/brutalmaze/maze.py b/brutalmaze/maze.py
index 28dc912..15610dd 100644
--- a/brutalmaze/maze.py
+++ b/brutalmaze/maze.py
@@ -77,7 +77,7 @@ class Maze:
             self.surface = None
         else:
             self.surface = pygame.display.set_mode(size, pygame.RESIZABLE)
-        self.export_dir = path.abspath(export_dir)
+        self.export_dir = path.abspath(export_dir) if export_dir else ''
         self.next_export = self.export_rate = export_rate
         self.export = []
 
diff --git a/brutalmaze/settings.ini b/brutalmaze/settings.ini
index e77eb62..8127edf 100644
--- a/brutalmaze/settings.ini
+++ b/brutalmaze/settings.ini
@@ -23,7 +23,7 @@ Toggle mute: m
 Move left: a
 Move right: d
 Move up: w
-Move down: d
+Move down: s
 # Move hero using mouse
 Auto move: Mouse3
 Long-range attack: Mouse1
diff --git a/setup.py b/setup.py
index ef46b4a..c016e3f 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ with open('README.rst') as f:
 
 setup(
     name='brutalmaze',
-    version='0.8.20',
+    version='0.8.21',
     description='A minimalist TPS game with fast-paced action',
     long_description=long_description,
     url='https://github.com/McSinyx/brutalmaze',