Changeset 148

Show
Ignore:
Timestamp:
04/26/08 20:42:59 (2 years ago)
Author:
thib
Message:

...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • adventure/thing.py

    r147 r148  
    166166                target = player 
    167167            if target: 
    168                 if not action['count'] or target.inventory.count(params) < count: 
     168                if not action['count'] or target.inventory.count(params) < action['count']: 
    169169                    target.inventory.append(params) 
    170170        #   <use target="target">object</give>