Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/MAFH2/Map.py
diff options
context:
space:
mode:
Diffstat (limited to 'MAFH2/Map.py')
-rw-r--r--MAFH2/Map.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MAFH2/Map.py b/MAFH2/Map.py
index 2cecf66..d722efd 100644
--- a/MAFH2/Map.py
+++ b/MAFH2/Map.py
@@ -51,7 +51,7 @@ class Map(GameEngineElement):
self.add_to_engine() #Adds itself and all callbacks to the engine
self.myDrawableObject = DrawableObject([pygame.Surface((0,0))], '')
- self.game_engine.get_scene().addObject(self.myDrawableObject)
+ self.add_to_scene([self.myDrawableObject])
def event_handler(self, event):
if event.type == pygame.KEYDOWN: