changeset 112:62a705f4e876

Blit the background onto the screen, not the screen onto the background.
author Simon Cross <hodgestar@gmail.com>
date Sun, 11 Sep 2011 20:29:00 +0200
parents 0c1005c76c87
children c5d6d0ba3b2b
files mamba/level.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mamba/level.py	Sun Sep 11 20:26:59 2011 +0200
+++ b/mamba/level.py	Sun Sep 11 20:29:00 2011 +0200
@@ -123,5 +123,5 @@
         return (self.entry.tile_pos, self.entry.direction)
 
     def draw(self, surface):
-        self.background.blit(surface, (0, 0))
+        surface.blit(self.background, (0, 0))
         self.sprites.draw(surface)