diff options
Diffstat (limited to 'MAFH2/Map.py')
-rw-r--r-- | MAFH2/Map.py | 2 |
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:
|