diff --git a/stack-scrolls.lic b/stack-scrolls.lic index d8783b7dd2..953ce58105 100644 --- a/stack-scrolls.lic +++ b/stack-scrolls.lic @@ -166,7 +166,7 @@ class ScrollStack end waitrt? - if @discard_scrolls.find { |discard| spell_name =~ /#{discard}/i } + if @discard_scrolls.find { |discard| spell_name == discard } DRCI.dispose_trash(scroll, @worn_trashcan, @worn_trashcan_verb) elsif (target = UserVars.stackers.find { |stacker| stacker['contents'].find { |data| data.first == spell_name } }) stack_existing_scroll(target, scroll, spell_name, stacker_container)