Now game no longer includes duplicates of levels upon completion or restart ... :-)
This commit is contained in:
parent
dc1df769cc
commit
dac5493b86
|
@ -86,6 +86,7 @@ class Game(object):
|
|||
|
||||
|
||||
def goto_level(self, level):
|
||||
self.objs.remove(self.level)
|
||||
self.level_num = level
|
||||
graphics_dir = os.path.join(self.directory, "resources", "graphics")
|
||||
|
||||
|
|
Loading…
Reference in New Issue