Skip to content

Instantly share code, notes, and snippets.

@stefanor
Created September 14, 2013 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanor/6565241 to your computer and use it in GitHub Desktop.
Save stefanor/6565241 to your computer and use it in GitHub Desktop.
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