Ignore:
Timestamp:
09/06/13 10:59:51 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

Resume from the previous level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/menu.py

    r325 r342  
    55from nagslang.screens.base import Screen
    66from nagslang.events import QuitEvent, ScreenChange
    7 from nagslang.level import Level
    87from nagslang.widgets.text import TextWidget, MultiLineWidget
    98
     
    4847
    4948    def play(self):
    50         first_level = Level.list_levels()[0]
    51         ScreenChange.post(first_level)
     49        ScreenChange.post(self.world.level)
    5250
    5351    def restart(self):
Note: See TracChangeset for help on using the changeset viewer.