Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[bin/crypt] can drop things in held containers

lue++
  • Loading branch information...
commit 999dfc8571f7c69ae33af86775f00630faad365d 1 parent aff9965
@masak authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  bin/crypt
View
3  bin/crypt
@@ -838,7 +838,7 @@ class Adventure::Engine {
unless defined $!player_location;
die X::Adventure::PlayerDoesNotHave.new(:$thing)
- unless %!thing_rooms{$thing} eq 'player inventory';
+ unless self.thing_is_in($thing, 'player inventory');
my @events = Adventure::PlayerDropped.new(:$thing);
self!apply_and_return: @events;
@@ -2618,7 +2618,6 @@ multi MAIN('test') {
:thing<water>,
),
'dropping water in the helmet';
- )
}
done;
Please sign in to comment.
Something went wrong with that request. Please try again.