Ignore:
Timestamp:
09/06/13 21:11:37 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Children:
380:a106d7e1415b, 381:c22784701143
Phase:
public
Message:

Collected collectables stay collected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/level.py

    r378 r379  
    9393            module = 'game_object'
    9494        cls = getattr(modules[module], classname)
     95
     96        if module == 'collectable' and name in self.world.inventory:
     97            return
    9598
    9699        if issubclass(cls, puzzle.Puzzler):
Note: See TracChangeset for help on using the changeset viewer.