Now game no longer includes duplicates of levels upon completion or restart ... :-)

This commit is contained in:
Sakse Dalum 2012-08-12 20:42:16 +02:00
parent dc1df769cc
commit dac5493b86
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ class Game(object):
def goto_level(self, level): def goto_level(self, level):
self.objs.remove(self.level)
self.level_num = level self.level_num = level
graphics_dir = os.path.join(self.directory, "resources", "graphics") graphics_dir = os.path.join(self.directory, "resources", "graphics")