Skip to content

Commit

Permalink
Item/container mixup in PUT
Browse files Browse the repository at this point in the history
when searching for container
  • Loading branch information
presidentbeef committed Mar 10, 2011
1 parent 19c612f commit 9483a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/generic.rb
Expand Up @@ -220,7 +220,7 @@ def put(event, player, room)
return
end

container = player.search_inv(event[:item]) || $manager.find(event[:container], room)
container = player.search_inv(event[:container]) || $manager.find(event[:container], room)

if container.nil?
player.output("There is no #{event[:container]} in which to put #{item.name}.")
Expand Down

0 comments on commit 9483a92

Please sign in to comment.