Ignore:
Timestamp:
09/07/13 16:38:40 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

Rearrange progress saving, to happen on room entrance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/world.py

    r437 r505  
    1616
    1717    def __init__(self):
     18        self.__dict__['protagonist'] = Protagonist(
     19            pymunk.Space(), self, Level.game_starting_point()[1])
    1820        self.reset()
    1921
     
    2931            'inventory': set(),
    3032        }
    31         self.__dict__['protagonist'] = Protagonist(
    32             pymunk.Space(), self, self.level[1])
     33        self.save()
    3334
    3435    def __getattr__(self, name):
Note: See TracChangeset for help on using the changeset viewer.