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

Remember start position on a level (a bit hacky)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/menu.py

    r342 r345  
    4747
    4848    def play(self):
    49         ScreenChange.post(self.world.level)
     49        level_name, pos = self.world.level
     50        self.world.protagonist.set_position(pos)
     51        ScreenChange.post(level_name)
    5052
    5153    def restart(self):
Note: See TracChangeset for help on using the changeset viewer.