Skip to content

Commit

Permalink
fix PluckMove not removing item
Browse files Browse the repository at this point in the history
added target.item = null;
---
 resources/moves.js | 1 +
 1 file changed, 1 insertion(+)
  • Loading branch information
sandshrewz committed Aug 22, 2013
1 parent 668c034 commit 866b213
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/moves.js
Expand Up @@ -99,6 +99,7 @@ function makePluckMove(move) {
field.print(Text.battle_messages_unique(
147, user, target, target.item));
target.item.use(user);
target.item = null;
}
}
};
Expand Down

0 comments on commit 866b213

Please sign in to comment.