diff options
author | Dipesh Amin <yaypunkrock@gmail.com> | 2011-08-22 15:29:24 +0100 |
---|---|---|
committer | Dipesh Amin <yaypunkrock@gmail.com> | 2011-08-22 15:29:24 +0100 |
commit | 23b900a3359510a3dba34e210bd8ab9b0965e6d5 (patch) | |
tree | 59656c5086c5b02a3f659c432758d5a0788675fd | |
parent | cd9ac58f45f5e29b99917269f48eb7098aee7e6f (diff) | |
download | manamarket-23b900a3359510a3dba34e210bd8ab9b0965e6d5.tar.gz manamarket-23b900a3359510a3dba34e210bd8ab9b0965e6d5.tar.bz2 manamarket-23b900a3359510a3dba34e210bd8ab9b0965e6d5.tar.xz manamarket-23b900a3359510a3dba34e210bd8ab9b0965e6d5.zip |
Pretty horrible bug, was altering the inventory state when checking.
-rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -794,7 +794,7 @@ def main(): player_node.inventory[item].itemId, item, player_node.inventory[item].amount) # Check the inventory state and the amount of money match the information saved. - test_node = player_node.inventory + test_node = player_node.inventory.copy() for elem in sale_tree.root: item_found = False for item in test_node: |