Created
September 14, 2013 20:12
-
-
Save stefanor/6565241 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Map.py b/lib/Map.py | |
index 1ed1685..28895e8 100644 | |
--- a/lib/Map.py | |
+++ b/lib/Map.py | |
@@ -51,7 +51,7 @@ class Map(): | |
def loadMap(self, filepath): | |
- f = open(filepath) | |
+ f = open(filepath, 'U') | |
levels = range(10) | |
for i in levels: | |
diff --git a/lib/__main__.py b/lib/__main__.py | |
index a462539..62e53d4 100644 | |
--- a/lib/__main__.py | |
+++ b/lib/__main__.py | |
@@ -17,7 +17,7 @@ def main(): | |
pygame.mixer.music.load(mainSong) | |
pygame.mixer.music.play(-1) | |
- background = pygame.image.load(data.imagepath('bg.Png')) | |
+ background = pygame.image.load(data.imagepath('bg.png')) | |
g = Game() | |
while True: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment